I am new to PHP and I have a simple question about fopen
For example:
$tmp = fopen("testfile.txt", "r");
If the file is not found i get an error. ("No such file or directory")
So there is no point in checking for this like this:
if($tmp) // statements
Am I doing something wrong here?
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
