setcookie()
| From: | patricktan at mydestiny dot net | Date: | Mon, 07 May 2001 02:48:16 +0000 |
| Subject: | setcookie() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-51684@lists.php.net to get a copy of this message | ||
Hi all,
I have just migrated my scripts from redhat linux 6.2 and apache to win nt4
and IIS 4.
I've been having problems with setting cookies though. Same piece of code
from the linux version won't work at the Win NT/IIS site.
Example of my code:
$username = "test";
$password = "testpass";
$kookieko = "kookienimona";
setcookie("username", $username, 0);
setcookie("password2", $password, 1);
setcookie("kookieko2", $kookieko, 2);
BTW I've installed php4.05 using the self-extracting installer I've
downloaded from php.net. Please check my php.ini file if it is correct.
Please help. I'm already at my wits end