note 98194 deleted from function.file-get-contents by thiago

From: Date: Tue, 01 Jun 2010 04:11:00 +0000
Subject: note 98194 deleted from function.file-get-contents by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-169761@lists.php.net to get a copy of this message
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 } ?>

« previous php.notes (#169761) next »