I have an image file that is mirrored on 3 separate servers. I hope to script a page that will display this image to the client regardless of which server the image resides. The script will check to see if server #1 is able to deliver the file. If not, the script will check server #2. The image file will be sent to the client directly from the mirrors. I do not want or need the image file to use up the bandwidth of the primary server that runs the script.
The problem is that all that I can imagine involves fopen. Is there a way to check the size and existence of a remote file without eating bandwidth on the primary server running the PHP script?
- - picklefish - -
Why is everyone in this forum responding to me as picklefish?
The problem is that all that I can imagine involves fopen. Is there a way to check the size and existence of a remote file without eating bandwidth on the primary server running the PHP script?
- - picklefish - -
Why is everyone in this forum responding to me as picklefish?