PDA

View Full Version : Setting and then checking for cookie


SpeedFreak
08-01-2003, 08:49 PM
Hey,

i want a script to set two cookies with a bit of info in each. the info will come from variables, lets say $var1 and $var2.

i then need a script that will check for the prescense of the cookie and read the info from it if it exists.

how can i do this?

Cheers

Nightfire
08-01-2003, 10:55 PM
http://uk2.php.net/manual/en/function.setcookie.php

SpeedFreak
08-02-2003, 10:10 AM
cheers :)