Sorry, should clarify that would just download an image for you (it's
probably pretty obvious)...  If I were to parse an image location off a
webpage, I'd first spool up the whole page in a variable, break the variable
down by the bracket '<' into an array, then parse each item of the array
with this ...

$data=~ /src="*(.*?)( |>|")/;

The images then could be found in $1.

Agustin Rivera
Webmaster, Pollstar.com
http://www.pollstar.com



----- Original Message -----
From: "Guy Davis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 27, 2002 8:29 AM
Subject: How do I get and save an image off of a web page


> I want to grab a web page via HTTP:Request and then parse it and grab an
image off of it and save that image to the hard disk. Has anyone done this
and/or can anyone point me in the right direction?
>
> Thanks,
>
> Guy Davis
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to