DryIce Posted April 1, 2007 Share Posted April 1, 2007 Hello, Anyone know how you could open a remote webpage and put its html source into a string? I've tried a few different methods and functions, including file(), fopen(), and file_get_contents(), but nothing seems to work so far. Link to comment https://forums.phpfreaks.com/topic/45193-opening-a-remote-webpage/ Share on other sites More sharing options...
MadTechie Posted April 1, 2007 Share Posted April 1, 2007 <php $x = readfile("file.html"); ?> Link to comment https://forums.phpfreaks.com/topic/45193-opening-a-remote-webpage/#findComment-219392 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.