RE: [PHP] set cookie function problem

2005-04-20 Thread Mark Rees
t: 20 April 2005 04:18 To: Ospinto Cc: php-general@lists.php.net Subject: Re: [PHP] set cookie function problem On Tue, April 19, 2005 2:20 pm, Ospinto said: > Can someone help me with this problem? setcookie('myCookie',"blah"); > works fine. but when i try to set it

Re: [PHP] set cookie function problem

2005-04-19 Thread Richard Lynch
On Tue, April 19, 2005 2:20 pm, Ospinto said: > Can someone help me with this problem? > setcookie('myCookie',"blah"); > works fine. but when i try to set it with an expiry time, it doesn't. > setcookie('myCookie',"blah",time()+3600); > > I have cookies enabled on my browser of course. And the way

Re: [PHP] set cookie function problem

2005-04-19 Thread Ospinto
Marek, you're right. Thanks. Solved the problem "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ospinto wrote: > > ok...what does that have to do with my problem? > > The time is send in GMT, and your computer is set to GMT -7. So the > cookie is set to expi

Re: [PHP] set cookie function problem

2005-04-19 Thread Marek Kilimajer
Ospinto wrote: ok...what does that have to do with my problem? The time is send in GMT, and your computer is set to GMT -7. So the cookie is set to expire in the past. "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Ospinto wrote: Hi, Can someone help me with

Re: [PHP] set cookie function problem

2005-04-19 Thread Stephen Johnson
454 (office) 562.924.4075 (fax) continuing the struggle against bad code */ ?> > From: "Ospinto" <[EMAIL PROTECTED]> > Date: Tue, 19 Apr 2005 17:33:07 -0400 > To: php-general@lists.php.net > Subject: Re: [PHP] set cookie function problem > > ok...what does t

Re: [PHP] set cookie function problem

2005-04-19 Thread Ospinto
ok...what does that have to do with my problem? "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ospinto wrote: > > Hi, > > Can someone help me with this problem? > > setcookie('myCookie',"blah"); > > works fine. but when i try to set it with an expiry time,

Re: [PHP] set cookie function problem

2005-04-19 Thread Marek Kilimajer
Ospinto wrote: Hi, Can someone help me with this problem? setcookie('myCookie',"blah"); works fine. but when i try to set it with an expiry time, it doesn't. setcookie('myCookie',"blah",time()+3600); I have cookies enabled on my browser of course. And the way I know the second statement is not work

[PHP] set cookie function problem

2005-04-19 Thread Ospinto
Hi, Can someone help me with this problem? setcookie('myCookie',"blah"); works fine. but when i try to set it with an expiry time, it doesn't. setcookie('myCookie',"blah",time()+3600); I have cookies enabled on my browser of course. And the way I know the second statement is not working is cos I'm