help on cookies please
| From: | dohman | Date: | Wed, 08 Aug 2001 17:38:56 +0000 |
| Subject: | help on cookies please | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-8719@lists.php.net to get a copy of this message | ||
I'm new to this whole PHP thing, but heres my problem
using w2k, apache 1.3.? and php4 and IE5
basically whaat i want to know is how to accesss a cookie's value from
localhost, that is both server and browser are on the same computer?
I use setcookie("testcookie","test", time()+360) and the cookie is placed
(it shows up in my temp inet files) but i can't retrieve the data. I should
just be able to use '$testcookie' to get the value 'test' right?
no value shows up. I don't get an 'undefined variable' error, its just an
empty value.
what am i doing wrong? thanks in advance!
chris