Welcome Guest, Not a member yet? Register   Sign In
set_cookie not working
#21

[eluser]ibnclaudius[/eluser]
So how can I get the serialized(email,token) data from "value"?
#22

[eluser]ibnclaudius[/eluser]
http://php.net/manual/en/function.setcookie.php

Quote:Cookies names can be set as array names and will be available to your PHP scripts as arrays but separate cookies are stored on the user's system. Consider explode() to set one cookie with multiple names and values. It is not recommended to use serialize() for this purpose, because it can result in security holes.

How can I set 'email' and 'token' inside the cookie and then retrieve?
#23

[eluser]CroNiX[/eluser]
unserialize()




Theme © iAndrew 2016 - Forum software by © MyBB