Re: setcookie()

From: Date: Mon, 07 May 2001 13:19:36 +0000
Subject: Re: setcookie()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-51725@lists.php.net to get a copy of this message
BTW here's my php.ini file. many thanks! ----- Original Message ----- From: <patricktan@mydestiny.net> To: <php-general@lists.php.net> Sent: Monday, May 07, 2001 10:48 AM Subject: [PHP] setcookie() > 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. > Thanks so much! > Patrick

« previous php.general (#51725) next »