Welcome Guest, Not a member yet? Register   Sign In
2 way encryption with friendly url
#1

[eluser]FuzzyJared[/eluser]
I am working on a little app that requires a form submission and redirect to a form success page. What I would like to do is validate the form data, insert it into a database and then send them to a new page with the insert id encoded.

Example
submission/success/abef38asd3889

Is this possible within the encrypt library? I don't have an issue using the library, but I can't use $this->encrypt->encode($submit_id) if it kicks back a value that isn't url friendly, example mQbis7ya9J9ZYXhOcjXMozJeAFOh4dk2nSJ2nFi+Zjo=
#2

[eluser]jwright[/eluser]
you could urlencode the encrypted value... The only issues I can see is if the encryption contains a forward slash in it.




Theme © iAndrew 2016 - Forum software by © MyBB