Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Apr 2008
    Posts
    46
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Grabbing Image From Referring Page

    I'm using a CMS to grab the rest of the information but I can't get it to grab the image for some reason.. How could I grab 1 of 6 images from the referring page?

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    You mean like a scrape? You'll need to get the full path to the image (you will probably need to resolve this), and copy or open and rewrite the file. Its otherwise not really different than a standard scrape, though depending on the purpose scraping is generally perceived as unethical.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 
    Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)

  • #3
    New Coder
    Join Date
    Apr 2008
    Posts
    46
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Fou-Lu View Post
    You mean like a scrape? You'll need to get the full path to the image (you will probably need to resolve this), and copy or open and rewrite the file. Its otherwise not really different than a standard scrape, though depending on the purpose scraping is generally perceived as unethical.
    kinda like a scrape but since the file names will by dynamic i wouldnt be able to do that i dont think.. ill keep trying and post back later if i have any problems


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •