DeanWhitehouse Posted July 3, 2008 Share Posted July 3, 2008 Is there a way to pull HTML code from a HTML file? Link to comment https://forums.phpfreaks.com/topic/113020-pull-html-code-from-file/ Share on other sites More sharing options...
ag3nt42 Posted July 3, 2008 Share Posted July 3, 2008 http://w3schools.com/php/php_ref_filesystem.asp Link to comment https://forums.phpfreaks.com/topic/113020-pull-html-code-from-file/#findComment-580571 Share on other sites More sharing options...
hitman6003 Posted July 3, 2008 Share Posted July 3, 2008 Just read the contents of the file into a string... $html = file_get_contents($filename); Link to comment https://forums.phpfreaks.com/topic/113020-pull-html-code-from-file/#findComment-580572 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.