Re: [PHP] load a URL and trap output

2004-03-12 Thread Roger Spears
Tom Meinlschmidt wrote: simple use fopen() or file() as $fp = fopen("http://somedomain/some.url?blablah","r";); and read via fread() Then I replied with: Perhaps I was mistaken, I thought: $fp = fopen("http://somedomain/some.url?blablah","r";); fread(); Would just return the actual HTML c

Re: [PHP] load a URL and trap output

2004-03-12 Thread Red Wingate
Best way would be filegetcontents() and implode the content with "\n". eg: http://www.somedomain.com'); $temp = implode ( "\n" , $temp ); echo $temp ; ?> Chris Boget wrote: How do I make my application load a URL and trap the returned data so that it never creates any browser output? A

Re: [PHP] load a URL and trap output

2004-03-12 Thread Chris Boget
> How do I make my application load a URL and trap the returned data so > that it never creates any browser output? Aside from the fopen() and fread() that was suggested by another person you can also use the ob_* functions. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] load a URL and trap output

2004-03-12 Thread Tom Meinlschmidt
simple use fopen() or file() as $fp = fopen("http://somedomain/some.url?blablah","r";); and read via fread() /tom On Fri, 12 Mar 2004 10:54:53 -0500 Roger Spears <[EMAIL PROTECTED]> wrote: > Hello, > > I have this application which is accessed via a web portal. The first > thing my applica