NYCPHP Meetup

NYPHP.org

[nycphp-talk] Prevent (IE) browser cache of image

Jiju Thomas Mathew lists at silmail.com
Sun Apr 8 22:08:05 EDT 2007


>
> >> <img src="createImg.php?<?php echo time(); ?>" />
> >>
> As far as I understood the HTTP No-Cache Solution you should include
> this file in the Script that generates the image.
>
> <?php
> // createImg.php
>
> require "nocache.php";
>
> header ("Content-Type: image/jpeg");
>
> imagejpeg (..);
> ?>


do you mind if it is readfile(<imagefile>) ?

-- 
Jiju Thomas Mathew
http://www.php-trivandrum.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070409/bef621ec/attachment.html>


More information about the talk mailing list