Tandem Posted January 27, 2007 Share Posted January 27, 2007 Is it possible to get the HTML code of a remote page into a variable? Or is it only the textual output that you can get?I've used file_get_contents() before to get the contents of remote pages but i've only ever used it for pages with only text in themThanks in advance for any replies. Link to comment https://forums.phpfreaks.com/topic/35951-html-into-a-variable/ Share on other sites More sharing options...
Orio Posted January 27, 2007 Share Posted January 27, 2007 Yes, you can use file_get_contents() to get the html code of a remote web-page.Orio. Link to comment https://forums.phpfreaks.com/topic/35951-html-into-a-variable/#findComment-170501 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.