Re: problem with cookies and some browsers
| From: | Alberto Serra | Date: | Sat, 13 Jul 2002 01:40:21 +0000 |
| Subject: | Re: problem with cookies and some browsers | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-107459@lists.php.net to get a copy of this message | ||
Привет!
Andy wrote:
I am wondering if there is a possiblity that some browsers like IE 5.1 do not accespt cookies by default.No, it's that they do not accept standards by default :) Try this and have M$ go to hell: // send/refresh cookie
$time = mktime()+ $lifeInDays*86400;
$date = date("l, d-M-y H:i:s", ($time));
header("Set-Cookie: YourCookie=YourValue; expires=$date GMT");
Пока
Альберто
Киев
@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@
LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu?
lOrD i'M sHiNiNg...
YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE
tHe TeSt, YeS iT iS
ThE tEsT, yEs It Is
tHe TeSt, YeS iT iS
ThE tEsT, yEs It Is.......