I have a random display image, written by perl.
It used html img tag to call the script like:
If I used IE , the images will be displayed just fine, each time I hit reload, I saw different images. That is what I want.
B U T ,
if I used Netscape, no matter I hit reload how many time, it just displayed the first image that is picked to display.
Why the images will not be chnaged. ?
How to solve this problem ?
I must use img tag , and I hate to use SSI.
Because I want to make it as inline image.
Here is my script :
$basedir = "http://imps.stcloudstate.edu:8002/
@files = ("bup1.gif","bup2.gif","bu
$num = int(rand(5));
print "Location: $basedir$files[$num]\n\n";
If I didn't use Location, I will get broken image.
For your imformation, this script is residing at ../cgi-bin/
and the images and img.html is residing at ../../web-docs/