note 70630 rejected from function.ob-start by nlopess
| From: | nlopess@php.net | Date: | Sun, 22 Oct 2006 13:09:21 +0000 |
| Subject: | note 70630 rejected from function.ob-start by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-118973@lists.php.net to get a copy of this message | ||
Note Submitter: Ales
----
Hello,
i need to get the external page and save it into the string variable... For example I need to get
the code of the page http://aleskresta.com and save it into
$routput. I tried something like this:
ob_start();
passthru("http://aleskresta.com");
$output = ob_get_contents();
ob_end_clean();
But, of course, it is not working:( Do u know how to manage to do this? Thank u very much
a l e s . k r e s t a @ s e z n a m . c z