Ok. I have been looking and trying several code examples I have found, but I cant seem to get one to work, so I need some more help.
I have a webcam image stored on server a... http://www.server-a.com/image.jpg that updates every thirty seconds
I need a script to get that image and refresh the image ONLY on the webpage (not refreshing the entire page). The website is stored on server b... http://www.server-b.com/webcam/
I have tried using javascript and every instance has been successful. However I do not want to use javascript because the primary people that will be viewing the webcam do not have java enabled and will not enable it. DO NOT reply to this telling me to use javascript, that java rules, or "The easiest way is to use javascript" or I will stick a pin in my voodoo doll 😃 . I would also like to get another image /cameradown.jpg if the webcam image is unavailable.
There has to be a better way!
btw... I have been trying to use this, but with no luck...
<?php if($_GET['refresh']){ ?><META HTTP-EQUIV="refresh" content="<?php echo $_GET['refresh'] ?>;URL=http://www.server-a.com/image.jpg?refresh=<?php echo $_GET['refresh'] ?>"><?php } ?>