kiss-o-matic Posted August 10, 2006 Share Posted August 10, 2006 Is this possible w/ PHP? I essentially want to slurp up the contents of some other webpage via it's URL, then do something with it, and display it in a browser. All searches for "get()" turn up references to the $_GET array.I have a Perl script to do this already, but my provider doesn't offer it w/ my current plan. I don't want to update just yet. Quote Link to comment Share on other sites More sharing options...
elhama Posted August 10, 2006 Share Posted August 10, 2006 <?readfile('http://yourlink.com/yourfile.html');?> Quote Link to comment Share on other sites More sharing options...
kiss-o-matic Posted August 10, 2006 Author Share Posted August 10, 2006 Thanks -- I just foundfile_get_contents('url') as well. Any difference? Quote Link to comment Share on other sites More sharing options...
elhama Posted August 10, 2006 Share Posted August 10, 2006 I have no idea, never tested it. but I tested readfile and it works -perfectly- however test them both and take whatever fits the best for you! :D Quote Link to comment Share on other sites More sharing options...
kiss-o-matic Posted August 10, 2006 Author Share Posted August 10, 2006 Will do. Thanks! Quote Link to comment 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.