Jump to content


Photo

somebody help me!!! with images


  • Please log in to reply
1 reply to this topic

#1 angelherriv

angelherriv
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 11 April 2006 - 11:06 PM

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)

#2 mystxx

mystxx
  • New Members
  • Pip
  • Newbie
  • 6 posts

Posted 12 April 2006 - 01:04 AM

[!--quoteo(post=363834:date=Apr 11 2006, 06:06 PM:name=angelherriv)--][div class=\'quotetop\']QUOTE(angelherriv @ Apr 11 2006, 06:06 PM) View Post[/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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users