Hello.
I'm making a script so I can rotate a few images that are outside my website (eg. uploaded at imageshack).
header("Content-type: image/png");
readfile($images[$rand_img]);
Readfile() will make it use the bandwidth = the image size right? I then tried to use header(), which didn't work very well. When I inserted the link to the avatar of a forum, it got all stretched, sometimes it wouldn't load.
header("Location: ".$images[$rand_img]);
Is there anyway I can do this without using too much bandwidth?
Thanks!