note 10701 added to header
| From: | breitenmoser at gmx dot net | Date: | Thu, 18 Jan 2001 09:22:59 +0000 |
| Subject: | note 10701 added to header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9918@lists.php.net to get a copy of this message | ||
Hi.
I do have a problem with IE and i am not sure if it's a cacheing thing.
I made a bannerserver like phpAds.
My problem is, that when i open a site of one of my customer with IE the first banner does not
appear. www.students.ch.
I do have no idee what's wrong. maybe someone can help me out on this.
Code snippet
------------------
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-cache, must-revalidate, max_age=0");
//Header("Expires: 0");
//Header("Pragma: no-cache");
SetCookie("bannerID", $row["bannerID"], dirname($PHP_SELF));
Header("Content-type: image/$row[format];");
echo $row["banner"];
---------------------------------
I can't use the other Header functions cause otherwise netscape users reload the banner every
few sec.
Thanks a log
P. Breitenmoser
http://www.php.net/manual/en/function.header.php