0

I have a website where the user goes to another website, copies the content, pastes into a text box, and clicks submit. My PHP script parses the content and imports a table into my MySQL database. I am looking to automate this. I know the PHP file_get_contents command will get the source code of a website, but I am looking to get the content as it is displayed on a browser.

The script does not have to be in PHP - I am open to anything. Any suggestions very welcome!

Thanks!

TheImpGOT
  • 3
  • 2
  • You want to search google for the term "headless browser". – arkascha Apr 18 '14 at 21:59
  • Related: http://stackoverflow.com/questions/757675/website-screenshots-using-php –  Apr 18 '14 at 21:59
  • `file_get_contents(SOME_URL)` should give the same HTML as a browser sees, it can't even access the source code unless they expose it instead of the website.. – EWit Apr 18 '14 at 22:17

0 Answers0