good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: 404 image errorsby cLive ;-) (Prior) |
on Jun 11, 2002 at 12:31 UTC ( [id://173440]=note: print w/replies, xml ) | Need Help?? |
Something like this?
Amend as you see fit if you want to return same file type - but I think most browsers can interpret the mime without needing the correct extension. You don't want to return html (the img tag) because that's text. Please learn CGI - it will make your life easier in the long run - honest! cLive ;-) ps - remember, you will need to send the redirect before outputting a text/html header to the browser. Update: pps - sorry, I should have stated - this was a snippet to go in your existing code (hmmm). I've expanded below... --
In Section
Seekers of Perl Wisdom
|
|