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. Quote 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"); ?> Quote Link to comment https://forums.phpfreaks.com/topic/45193-opening-a-remote-webpage/#findComment-219392 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.