...

View Full Version : PHP and Cookies



sgalmeida
01-18-2004, 08:16 PM
Greetings

I'm trying to develop my site using cookies and I use on my script the code

setcookie("mycookie", $theValue, time()+36000);

and I see that a file "administração/" is on my Temporary
Internet Files directory (I'm using Windows XP). Shouldn't be instead a file like
Cookie:sgalmeida@localhost?

Am I doing something wrong? Is there a problem if the file is just "administração/"??

Thanks

Sergio Almeida

firepages
01-19-2004, 03:00 AM
check setcookie (http://www.php.net/setcookie) in the manual.
You need to set the cookie domain , its one of the optional parameters.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum