note 70630 added to function.ob-start
| From: | Ales at osu1 dot php dot net | Date: | Sun, 22 Oct 2006 13:08:06 +0000 |
| Subject: | note 70630 added to function.ob-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-118972@lists.php.net to get a copy of this message | ||
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
----
Server IP: 212.24.129.110
Probable Submitter: 85.70.232.95
----
Manual Page -- http://www.php.net/manual/en/function.ob-start.php
Edit -- https://master.php.net/note/edit/70630
Del: integrated -- https://master.php.net/note/delete/70630/integrated
Del: useless -- https://master.php.net/note/delete/70630/useless
Del: bad code -- https://master.php.net/note/delete/70630/bad+code
Del: spam -- https://master.php.net/note/delete/70630/spam
Del: non-english -- https://master.php.net/note/delete/70630/non-english
Del: in docs -- https://master.php.net/note/delete/70630/in+docs
Del: other reasons-- https://master.php.net/note/delete/70630
Reject -- https://master.php.net/note/reject/70630
Search -- https://master.php.net/manage/user-notes.php