never mind... 'or - i fixed my own problem!  i enabled cacheing on both PHP
pages, the page with the image who's source calls the PHP page that creates
the image.


----- Original Message -----
From: "Karl J. Stubsjoen" <[EMAIL PROTECTED]>
To: "PHP Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, March 08, 2001 12:52 PM
Subject: [PHP] Tell me if this works


> I'm using the SetTimeOut function of JavaScript to refresh an image every
3
> seconds.  The SRC for the image is a PHP page which constructs a valid
image
> with some text added to the image and returns the image to the colling
> Image.  This works fine, however the information should be changing every
so
> often for the image.  The value to display in the image is a value being
> fetched from a table, that value is changing all the time.  The value is
set
> to the first-time-through value and then subsequent request of the image
> remain all the same (the image should be changing and it isn't).
>
> Is this a Javascript issue, browser issue, cache issue???
> I've tested it on a couple of different platforms, with no luck.  Here is
my
> JavaScript code:
>
> function GetStat() {
>  var Image2
>  Image2 = new Image(185,39)
>  Image2.src = "GetStat.php"
>  document.stat1.src = Image2
>  setTimeout('GetStat()',3000)
>   status = " "
> }
>
> <img name="stat1" src="images/NumberDisplay.png" border=0>
>
> Thanks for the help!
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to