Jump to content

Archived

This topic is now archived and is closed to further replies.

angelherriv

somebody help me!!! with images

Recommended Posts

Hello, I would like to know if is possible to filter an image from a web page using PHP. For example, exist a web page that each time you go there, it generates an image, with a different name each time, but always in the same location etc., can i retrieve that image and show it on my php web site as I like or get the URL of that image?, if you know something, please tell me how, thanks. (sorry my english)

Share this post


Link to post
Share on other sites
[!--quoteo(post=363834:date=Apr 11 2006, 06:06 PM:name=angelherriv)--][div class=\'quotetop\']QUOTE(angelherriv @ Apr 11 2006, 06:06 PM) [snapback]363834[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Hello, I would like to know if is possible to filter an image from a web page using PHP. For example, exist a web page that each time you go there, it generates an image, with a different name each time, but always in the same location etc., can i retrieve that image and show it on my php web site as I like or get the URL of that image?, if you know something, please tell me how, thanks. (sorry my english)
[/quote]

Hi.
This is often doable using regexp. You connect to the site, download complete html, then via regexp extract only IMG tags. From there you can get the location and then download or display on your site.

You should check for copyrights in these cases.

Hope this helps.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.