Welcome Guest, Not a member yet? Register   Sign In
How to pass encrypt GET variable
#5

[eluser]oll[/eluser]
You should use sthing like :

$key=md5(uniqid($username));
and send :
http://mysite/controller/model/$key as url

You don't have to use the encrypt helper (at least not in the goal of being able to decrypt the key for knowing the user).
Just create a waitforconfirm table with at least 2 fields : a username field and a "password" field.


You will know your user using a query that looks like : "select * from waitforconfirm where password=$key"

This link might help :
http://www.phpeasystep.com/workshopview.php?id=24


Messages In This Thread
How to pass encrypt GET variable - by El Forum - 10-16-2008, 09:45 PM
How to pass encrypt GET variable - by El Forum - 10-16-2008, 10:00 PM
How to pass encrypt GET variable - by El Forum - 10-16-2008, 10:11 PM
How to pass encrypt GET variable - by El Forum - 10-16-2008, 11:05 PM
How to pass encrypt GET variable - by El Forum - 10-17-2008, 01:49 AM
How to pass encrypt GET variable - by El Forum - 10-17-2008, 05:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB