RE: [PHP] cookies - not working with Nutscrape
| From: | Brian V Bonini | Date: | Sat, 20 Jan 2001 18:36:49 +0000 |
| Subject: | RE: [PHP] cookies - not working with Nutscrape | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35823@lists.php.net to get a copy of this message | ||
The complete snippet is
<?
if (isset($ecb)) {
if ($ecb >= 5) {
$val = 1;
} else {
$val = $ecb;
$val++;
}
} else {
$val = 1;
}
$expires = mktime(12, 00, 00, 12, 31, 2005);
setcookie("ecb",$val,$expires,"/",".domain.com",0);
?>
I've gotten around it for the moment by using
a browser detection routine and delivering different
methods based on that but that's kind of a dirty
hack.....
> -----Original Message-----
> From: Richard Lynch [mailto:richard@zend.com]
> Sent: Friday, January 19, 2001 7:53 PM
> To: brian@gfx.cncdsl.com
> Subject: Re: [PHP] cookies - not working with Nutscrape
>
>
> What's the rest of your SetCookie look like?
>
> By Day: |By Night:
> Don't miss the Zend Web Store's | There's not enough room here...
> Grand Opening on January 23, 2001! | Start here:
> http://www.zend.com |
> http://l-i-e.com/artists.htm
> ----- Original Message -----
> From: Brian V Bonini <brian@gfx.cncdsl.com>
> To: Richard Lynch <richard@zend.com>; "Brian V Bonini"
> <brian@gfx.cncdsl.com>
> Sent: Friday, January 19, 2001 4:15 PM
> Subject: RE: [PHP] cookies - not working with Nutscrape
>
>
> > That broke em both.......
> >
> > > -----Original Message-----
> > > From: Richard Lynch [mailto:richard@zend.com]
> > > Sent: Friday, January 19, 2001 4:04 PM
> > > To: "Brian V Bonini"
> > > Subject: Re: [PHP] cookies - not working with Nutscrape
> > >
> > >
> > >
> > >
> > > > Why would this work in IE but not NN (4.08)?
> > > >
> > > > If I remove "/" ".mydomain.com" it works with
> > > > NN but not IE. Vice versa if I leave it in.
> > >
> > > Keep just the "/", not the domain.
> > >
> > > They both suck.
> > >
> > > By Day: |By Night:
> > > Don't miss the Zend Web Store's | There's not enough room
> here...
> > > Grand Opening on January 23, 2001! | Start here:
> > > http://www.zend.com |
http://l-i-e.com/artists.htm
> >
> >
> >
>
>