Re: auto-refresh dynamic images
| From: | Erik Myllymaki | Date: | Thu, 14 Sep 2000 14:51:32 +0000 |
| Subject: | Re: auto-refresh dynamic images | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16780@lists.php.net to get a copy of this message | ||
> Erik Myllymaki wrote:
>
> > Hi,
> >
> > I am generating some jpegs dynamically from a weatherstation program and
> > FTPing them to my webserver every 5 minutes. How do I get the PHP3 page
to
> > force the images to be uploaded to the client's browser every time the
page
> > is reviewed instead of getting the out of date images from cache?
> >
> > Also, how do I get the page to refresh at a particular interval AND
refresh
> > the jpegs? For instance if someone wants to leave thee page displayed
ffor a
> > while and just have it refresh every 5 minutes to show the new images
and
> > the coresponding change in weather?
> >
> > <METAs...> work only for the text, NOT the jpegs. Will using the
header()
> > function work for the images as well as text?
> >
> > Any help appreciated.
> >
> > Thanks,
> Call image with something like image.jpg?$something, where something could
be
> time();
> HTH
>
> Bojan
Thanks, this worked like a charm.
Combined with:
<META HTTP-EQUIV="refresh" content="30;URL==<?php echo $PHPSELF; ?>"
I get the functionality I was looking for.