note 4321 modified in is_file by ronabop

From: Date: Tue, 24 Oct 2000 05:52:57 +0000
Subject: note 4321 modified in is_file by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-6942@lists.php.net to get a copy of this message
It seems that is_file doesn't return true for a file that is 0 bytes. Perhaps it is something with the file system. I am using IIS 3.0 on an NT4 box. I worked around it using !is_dir($filename) but that seems a clunky way to do it. http://www.php.net/manual/function.is-file.php

« previous php.notes (#6942) next »