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). ? Link to comment https://forums.phpfreaks.com/topic/9812-set-html-of-external-page-as-variable/ 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] Link to comment https://forums.phpfreaks.com/topic/9812-set-html-of-external-page-as-variable/#findComment-36399 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.