Problem with Filesystem Functions

From: Date: Sat, 03 Oct 2009 13:07:07 +0000
Subject: Problem with Filesystem Functions
Groups: php.general 
Request: Send a blank email to php-general+get-298509@lists.php.net to get a copy of this message
I hope this isn't too basic of a question . . . I'm having a problem with the Filesystem Functions, I think. Specifically, I'm recursing through a directory, and have this code: $size = filesize($file); $type = filetype($file); $date = filemtime($file); I'm getting these warnings: Warning: filesize() [function.filesize]: stat failed for AudioJungle.jpg in C:\wamp\www\file_explorer\index.php on line 33 Warning: filetype() [function.filetype]: Lstat failed for AudioJungle.jpg in C:\wamp\www\file_explorer\index.php on line 34 Warning: filemtime() [function.filemtime]: stat failed for AudioJungle.jpg in C:\wamp\www\file_explorer\index.php on line 35 These warning display for every file in the directory; however . and .. have no trouble. I've googled around and searched for probably 45min without coming up with a solution. Any help would be appreciated! TIA!

« previous php.general (#298509) next »