Re: PHP error messages
| From: | Lord Loh. | Date: | Mon, 17 Feb 2003 05:29:57 +0000 |
| Subject: | Re: PHP error messages | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135801@lists.php.net to get a copy of this message | ||
That is not an error! It is a Warning...I got it the other day when the file
was empty (or did not exist or something).
Use @ prefix to make it disappear
<?php
$ar=@file("http://www.something.com/the_filename.txt");
?>
Hope this helps...
Lord Loh.