[PHP] Re: [PHP-WIN] Localhost not working with cookies

2005-04-17 Thread Tom Rawson
On 18 Apr 2005 Proudly Pinoy wrote:

 I've read from php.net/setcookie and codecomments.com that using
 localhost won't work with cookies and neither are IP addresses. So
 how do I test cookies on local system? 

Hmmm, this works just fine for me -- I do it all the time.  I tend to 
do it with a domain mapped to 127.0.0.1 via the hosts file, rather than 
localhost, but using that approach I can set cookies fine under Win98 
(as far as I remember, not using it now), Win 2000, and Win XP, in both 
Mozilla and IE.  I am running Apache 1.3.29 as the local server in all 
cases.

--
Tom

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: [PHP-WIN] Localhost not working with cookies

2005-04-17 Thread trlists
On 18 Apr 2005 Proudly Pinoy wrote:

 I've read from php.net/setcookie and codecomments.com that using
 localhost won't work with cookies and neither are IP addresses. So
 how do I test cookies on local system? 

Hmmm, this works just fine for me -- I do it all the time.  I tend to 
do it with a domain mapped to 127.0.0.1 via the hosts file, rather than 
localhost, but using that approach I can set cookies fine under Win98 
(as far as I remember, not using it now), Win 2000, and Win XP, in both 
Mozilla and IE.  I am running Apache 1.3.29 as the local server in all 
cases.

--
Tom

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php