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. Link to comment https://forums.phpfreaks.com/topic/17111-equivalent-to-perls-get-in-lwpsimple/ Share on other sites More sharing options...
elhama Posted August 10, 2006 Share Posted August 10, 2006 <?readfile('http://yourlink.com/yourfile.html');?> Link to comment https://forums.phpfreaks.com/topic/17111-equivalent-to-perls-get-in-lwpsimple/#findComment-72341 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? Link to comment https://forums.phpfreaks.com/topic/17111-equivalent-to-perls-get-in-lwpsimple/#findComment-72345 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 Link to comment https://forums.phpfreaks.com/topic/17111-equivalent-to-perls-get-in-lwpsimple/#findComment-72348 Share on other sites More sharing options...
kiss-o-matic Posted August 10, 2006 Author Share Posted August 10, 2006 Will do. Thanks! Link to comment https://forums.phpfreaks.com/topic/17111-equivalent-to-perls-get-in-lwpsimple/#findComment-72365 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.