How can I cache a fetched image from a network and output it on the webserver?
Posted on 2003-11-20
I have a webcam set up on a computer on our University network. This computer is visible to all other uni computers, including the webserver we use, but not to the outside world. Currently the webcam is serving an image on port 80 of it's own computer. I can link to this with an image tag in a file on the webserver and the pic will display when a campus computer requests it, but obviously not when the request is made from the outside world. Therefore I need some PHP to fetch the image from the webcam server, cache it, and output it on the web page so that all can see the image. Any ideas how to do this?