Welcome Guest, Not a member yet? Register   Sign In
Encrypt Class Problem
#1

[eluser]Deep Arora[/eluser]
I am using CI's encrypt library to encrypt a part of the URL.

Now after encrypting, I form the URL and email it to user. This is a URL that user can click to unsubscribe from the emails.

Now, after encryption, it adds "/" slash multiple times as part of its encryption. So the string outputs as:

Fa29uf1B4yPTKiy3EVMC4xhYMyVy2s1lMfNNK/PjnJgN2Vf0ivQxB5ZBVadyFf6QQt33Co6emVQduqGsv3vM6jndN5C08l7swKWrI/FEEH3nUMU3Tc0Zen3UauVkCaaa

As you can see there are THREE instances of / in the above string.

The URL becomes like this:

http://mydomain.com/process/remove/Fa29u...3UauVkCaaa

But when I rceeive this parameter in my REMOVE function i controller PROCESS, it receives the value only upto first instance of "/"

Only this part of string is received: Fa29uf1B4yPTKiy3EVMC4xhYMyVy2s1lMfNNK

How can I ensure that I receive FULL string to decrypt?

Regds,
Deep


Messages In This Thread
Encrypt Class Problem - by El Forum - 05-14-2009, 12:44 PM
Encrypt Class Problem - by El Forum - 05-14-2009, 12:52 PM
Encrypt Class Problem - by El Forum - 05-14-2009, 12:57 PM
Encrypt Class Problem - by El Forum - 05-12-2011, 04:52 AM
Encrypt Class Problem - by El Forum - 05-12-2011, 05:22 AM
Encrypt Class Problem - by El Forum - 08-17-2011, 03:49 AM
Encrypt Class Problem - by El Forum - 08-17-2011, 08:24 PM
Encrypt Class Problem - by El Forum - 08-18-2011, 05:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB