note 3228 deleted from fopen by ronabop

From: Date: Thu, 10 Aug 2000 20:11:58 +0000
Subject: note 3228 deleted from fopen by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-906@lists.php.net to get a copy of this message
hsorbu@hotmail.com: Change your code to: <pre> $file = fopen("http://www.test.com/nonexists.html", "r"); if (!$file) { echo"Error"; } else { ... </pre>

« previous php.notes (#906) next »