Reply to Re: [PHP] Localhost not working with cookies

Your name:

Reply:


Posted by Joseph L. Mueller on 04/19/05 11:36

Richard Lynch wrote:
> On Sun, April 17, 2005 1:05 pm, Proudly Pinoy said:
>
>>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?
>
>
> Works for me.
>
> Maybe doesn't work with specific broken browsers or something, but you
> just need it to work for development, where you pick the browser, no?
>
> You'd have to do QA on a non-localhost for those browsers so badly broken
> as to not do Cookies for localhost, but that should not be too onerous.
>
What I did when I had that same problem was to add the following record
in the HOSTS file in c:\windows\system32\drivers\etc
127.0.0.1 my.local.com localhost

--
Joseph L. Mueller

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация