NB : Your setcookie line is broken - please check the syntax, as time()1209600 is not valid PHP!
Cheers, Neil Smith.
At 04:28 22/03/2003 +0000, you wrote:
From: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Date: Fri, 21 Mar 2003 20:52:59 EST To: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Cookies
Hi, where can I locate a cookie that I set through my PHP script. I use the following line:
setcookie("username", $name, time()1209600);
...with the $name variable being "Tryst" for example. I've search my Computer (Windows XP) and can't find the cookie. I've seached for the word "Username" and "Cookie", but the results from Cookie display all other cookies on my computer and not the one that I supposedly set. But, if I use
$user = $_COOKIE["username"];
I get the value "Tryst" stored in the variable, which means the cookie must be getting set.
Any ideas where I may have to look for this cookie??
Tryst
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php