note 27217 deleted from function.filesize by nlopess

From: Date: Sun, 26 Dec 2004 21:55:40 +0000
Subject: note 27217 deleted from function.filesize by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-82336@lists.php.net to get a copy of this message
Note Submitter: g_adams27 at hotmail dot com ---- 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.

« previous php.notes (#82336) next »