![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
It's Perl enough for me. I'm a bit tired so you don't get the full answer, but here's the quick rundown.
When you put a link in a webpage, the browser loads the HTML, then loads the images as if you were following links to the images. In short, an <img src="lalala"> tag acts exactly like a <a href="lalala"> tag. There is no problem at all with having the target of a img tag being a cgi. So your img tag becomes <img src="image_server.pl?image=goodpic.jpg>. The CGI becomes:
You are on the right track. A lot of sites have "image servers" - web servers that just host images. Cuts down the load on any one server. I'll let someone else shout about security, but consider what could happen if someone typed "image_server.pl?image=/etc/password" into their browser... ____________________ In reply to Re: Not Strictly A perl question.
by jepri
|
|