You are here: Re: [PHP] Image Verification - Problems in Safari, Mac OS X « PHP « IT news, forums, messages
Re: [PHP] Image Verification - Problems in Safari, Mac OS X

Posted by Rory Browne on 10/20/82 11:16

if you have an image generated by
http://www.example.com/createimage.php , you could always refer to it
as http://www.example.com/createimage.php/{no_of_seconds_since_unix_epoch}.png

On 5/19/05, Rahul S. Johari <rjohari@nycap.rr.com> wrote:
>
> On 5/19/05 10:59 AM, "Murray @ PlanetThoughtful"
> <lists@planetthoughtful.org> wrote:
>
>
> > Try forcing the browser to bypass the cache by adding the lines at the
> > following link to your page:
> >
> > http://www.faqts.com/knowledge_base/view.phtml/aid/21068/fid/51
>
> I thought this would definitely work because it looks like exactly what I
> need. IE is picking up the image from the cache no matter what.. And it
> seemed this piece of code is exactly for that, so that IE doesn't pick up
> images/data from the cache. But it's still not working! IE is still indeed
> picking up the image from the cache.
>
> This is how the beginning of my php page looks like:
>
> <?php
> session_start();
> header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
> header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
> header ("Cache-Control: no-cache, must-revalidate"); // for HTTP/1.1
> header ("Pragma: no-cache"); // for HTTP/1.0
> ?>
>
> Stll... IE is displaying the image that has already been displayed on first
> login attempt... It won't display new Image untill you actually physically
> hit the "REFRESH" button on the browser.
>
> Any suggestions?
>
> Rahul S. Johari
> Coordinator, Internet & Administration
> Informed Marketing Services Inc.
> 251 River Street
> Troy, NY 12180
>
> Tel: (518) 266-0909 x154
> Fax: (518) 266-0909
> Email: rahul@informed-sources.com
> http://www.informed-sources.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация