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

Re: [SLUG] Automatic update of html pages



Hi Grahame,

Another solution is, if the page is being parsed by any sort of server
side scripting, tack a unique number on the end of the grahpic, ie in
PHP it would look like

<img src="images/blah.jpg?<?php echo time();?>">

That sould append the current unix time stamp on the end and ALL caches
will reload it.

Its a good little trick to know.

Matta

"Grahame M. Kelly" wrote:
> 
> Hi All.
> 
> I have a webcam running but I can't seem to get the client web page to fetch
> the latest image (more than once every 30 ~ 45 secs), even though I have
> checked (by telnettting into ISP my account) that the ftp uploads are correctly
> loading (at a rate of every 10 seconds).
> 
> Can anyone enlighten me on what I am missing!
> 
> I have the following embedded in the page:
> 
> <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <meta name="GENERATOR" content="Mozilla/4.6 [en] (X11; U; Linux 2.2.16 i686) [Netscape]">
> <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
> <META HTTP-EQUIV="Refresh" CONTENT="15">
> <title>PossumCAM Home Page</title>
> </head>
> 
> Thanks. Grahame
> 
> --
> Webpage -> http://www.wildpossum.com
> Member SLUG (Sydney Linux User Group) www.slug.org.au
> 
> --
> SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
> To unsubscribe send email to slug-request@nospam.slug.org.au with
> unsubscribe in the text

-- 
Matt Allen                                      Linux/PHP eCommerce
Solutions
Linux Worx                                      Linux Networking
www.linuxworx.com.au                            Consulting
matt@nospam.linuxworx.com.au                           
0413 777 771
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text