note 98194 deleted from function.file-get-contents by thiago
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
Note Submitter: Check It
----
RE : vlad dot wing at gmail dot com
You should really use a '==='
<?php
$result=file_get_contents("http://www.example.com");
if ($result === false)
{
// treat error
} else {
// handle good case
}
?>