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 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2011
    Posts
    17
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Is there code that can grab content from a website and log it to a file?

    I'm looking for some kind of script or code that can do the following:

    Whenever a person visits: http://mysite.com/file.php it'll secretly load the link of another website http://targetsite.com and grab the entire content on the page based on what the visitor would see if he had visited http://targetsite.com directly.

    It would log the content on my server as a .txt file or something like that

    Heres a diagram to make it more clear:

    http://i.imgur.com/SwYAE.png

  • #2
    New Coder
    Join Date
    Aug 2011
    Location
    Melbourne, Brighton 3186
    Posts
    17
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Looks a little like scraping someone elses site. Without going in to the moral aspects of this it really wouldn't benefit your new site at all and probably will peanalise it as the search engines are hot on dupicate content and particularly don't like scraping for content.


  •  

    Posting Permissions

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