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:[EMAIL PROTECTED]]
> Sent: Friday, January 19, 2001 7:53 PM
> To: [EMAIL PROTECTED]
> 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 <[EMAIL PROTECTED]>
> To: Richard Lynch <[EMAIL PROTECTED]>; "Brian V Bonini"
> <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]]
> > > 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
> >
> >
> >
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to