|
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
[Back to original message]
|