in reply to CGI display a gif
What's the URL of the image? Relative URL "cgi-bin/images/1.gif" applied to base URL "http://localhost/cgi-bin/image.cgi" is "http://localhost/cgi-bin/cgi-bin/images/1.gif". I think you have an extra "cgi-bin/" in there. Fix: print "<IMG SRC='images/1.gif'>";
Also, how are you refering to the script? That script won't work from an <img> since it returns HTML, not an image.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CGI display a gif
by indie_campbell (Novice) on Jun 06, 2005 at 15:57 UTC | |
by ikegami (Patriarch) on Jun 06, 2005 at 16:08 UTC | |
|
Re^2: CGI display a gif
by indie_campbell (Novice) on Jun 06, 2005 at 15:55 UTC | |
by ikegami (Patriarch) on Jun 06, 2005 at 15:56 UTC |