Forum Moderators: coopster

Message Too Old, No Replies

How to extract the page source of a web page in php

         

surfking2001

5:45 pm on Aug 25, 2010 (gmt 0)

10+ Year Member



I need to get the page source of any web page for example "http://www.google.com" in a string variable?

astupidname

7:49 am on Aug 26, 2010 (gmt 0)

10+ Year Member



$fc = file_get_contents('http://www.google.com');