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
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
Tom Meinlschmidt wrote:
simple use fopen() or file()
as $fp = fopen("http://somedomain/some.url?blablah","r";);
and read via fread()
Perhaps I was mistaken, I thought:
$fp = fopen("http://somedomain/some.url?blablah","r";);
fread();
Would just return the actual HTML code of the page and NOT
> 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
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
Hello,
I have this application which is accessed via a web portal. The first
thing my application must do is make sure the visitor is logged in via
the portal. The only way to do this is by making a request to a
specific URL. This URL (which includes the log in cookie id) will
return XML to
6 matches
Mail list logo