note 98111 added to function.file-get-contents
| From: | dblaci at dblaci dot hu | Date: | Wed, 26 May 2010 15:33:07 +0000 |
| Subject: | note 98111 added to function.file-get-contents | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-169624@lists.php.net to get a copy of this message | ||
more simple:
$result=file_get_contents("http://www.example.com");
if ($result === false)
{
// treat error
} else {
// handle good case
}
----
Server IP: 92.43.200.200
Probable Submitter: 62.201.102.194
----
Manual Page -- http://www.php.net/manual/en/function.file-get-contents.php
Edit -- https://master.php.net/note/edit/98111
Del: integrated -- https://master.php.net/note/delete/98111/integrated
Del: useless -- https://master.php.net/note/delete/98111/useless
Del: bad code -- https://master.php.net/note/delete/98111/bad+code
Del: spam -- https://master.php.net/note/delete/98111/spam
Del: non-english -- https://master.php.net/note/delete/98111/non-english
Del: in docs -- https://master.php.net/note/delete/98111/in+docs
Del: other reasons-- https://master.php.net/note/delete/98111
Reject -- https://master.php.net/note/reject/98111
Search -- https://master.php.net/manage/user-notes.php