Check out LWP.
You basically need is a scriptable browser that can retrieve the image for
you.
This can be done with LWP. Take a look at lwpcook for examples on how to do
this.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Steve
Sotis
Sent: Friday, January 26, 2001 7:17 AM
To: [EMAIL PROTECTED]
Subject: Re: Serving Images
$Bill / Brian,
I think both of you responded directly to me, instead of through the list
and, although you both had some nice code, I *think* (but could be wrong)
that they missed the point of the question.
Both of your solutions are opening files that are local. That was the whole
point of the question. All my server (and therefore my script) has is the
URL to an image on a remote server.
If my insecure, paranoid server/script outputs HTML that includes an IMG
tag with the remote image URL, then it works fine because the remote server
simply serves the image to the browser.
If, however, my secure server/script outputs HTML that includes an IMG tag
with the remote image URL, then a broken link appears in the browser and,
if browser warnings are not turned off, then the browser complains that the
secure page contains insecure, paranoid elements.
Therefore, I think I (meaning my secure server and script) have to "obtain"
these images on the fly, and then use code similar to what you sent me.
So, the original question remains. Is there sample code available for
"obtaining" these images, as well as for checking these images on the fly
to see if I need to re-download them, etc.
Thanks, guys. Always a pleasure!
Steve
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web