Dynamic Images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

I am creating a a script in which a dynamic graph is generated through gd
library. The format of the picture is jpeg. Now the problem is that the
browser is caching the images and after updating also it is displaying the
older image.

Currently for clearing the cache i am using this code
<?php
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: no-cache");
header("Pragma: no-cache");
?>

But this code is not working me. Please help me.

Regards
Manoj

--
Manoj Kumar Singh
Software Engineer
Kalptaru Infotech Ltd
Dawa Bazaar
Indore (MP)
452001

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux