php-windows | 2003032

[PHP-WIN] Re: Subject: Cookies From: Neil Smith (neil <email protected>)
Date: 03/22/03

Try looking in your C:\\Documents And Settings\username\cookies folder,
then sorting the list by domain (you may be running on localhost so it
would show up there)

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: Trystano <email protected>
>Message-ID: <1ce.5a251a9.2bad1bfb <email protected>>
>Date: Fri, 21 Mar 2003 20:52:59 EST
>To: php-windows <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