Pgs Posted May 16, 2006 Share Posted May 16, 2006 Can i set PHP variable to a HTML output of external page (ex. i wanna set $htmlvar on my page as html output of external page eg. www.google.com). ? Quote Link to comment Share on other sites More sharing options...
ryanlwh Posted May 16, 2006 Share Posted May 16, 2006 [code]$htmlvar = file_get_contents('http://www.google.com');[/code] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.