note 27217 added to function.filesize

From: Date: Wed, 27 Nov 2002 15:43:35 +0000
Subject: note 27217 added to function.filesize
Groups: php.notes 
Request: Send a blank email to php-notes+get-40041@lists.php.net to get a copy of this message
For Windows users, note that when the manual says "this function will not work on remote files", that also includes other drive partitions on the same computer. In my case (Win2K/IIS 5/PHP 4.2.1), I had PHP and the webserver running on E:\ , but was trying to create, write to, and then run filesize() on some temporary files in C:\WINNT\Temp . filesize() kept telling me it couldn't stat the temporary files. Once I finally realized what was going on, I moved the location of the temporary files to E:\Temp, and everything worked like a charm. -- http://www.php.net/manual/en/function.filesize.php http://master.php.net/manage/user-notes.php?action=edit+27217 http://master.php.net/manage/user-notes.php?action=delete+27217 http://master.php.net/manage/user-notes.php?action=reject+27217

« previous php.notes (#40041) next »