You are here: Re: cookies does not work under win xp + ie « PHP Programming Language « IT news, forums, messages
Re: cookies does not work under win xp + ie

Posted by Curtis on 02/16/07 08:30

Jerry Stuckle wrote:
> comper wrote:
>> I have problem:
>> function setcookies does not work under Xp + IE
>> i wrote
>>
>> setcookie('name', '$value', false, '/', 'false', 0);
>>
>>
>> its all in php script and nothing, no cookies sent. But only on IE, i
>> start page on Opera or Mozzilla and it works, only on IE no.
>> Dont know anyone reason?
>> Please help, thanks
>>
>
> The third parameter should be the timeout value, not true/false.
>
> The fifth parameter should be a domain name or empty, not true/false.
>
> See the documentation for setcookie().
>
>

The second parameter should not have single, or any quotes around it,
in this case. The cookie value will be the literal string: $value.

--
Curtis

 

Navigation:

[Reply to this 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

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