note 70687 added to function.is-dir

From: Date: Tue, 24 Oct 2006 00:48:43 +0000
Subject: note 70687 added to function.is-dir
Groups: php.notes 
Request: Send a blank email to php-notes+get-119050@lists.php.net to get a copy of this message
I'm not sure what is going on here... I have a function to return a listing of (sub)directories within a directory. Works great until I ran into the directory given in the warning below... 87 characters seems too short to be running into a file/directory name length issue? This is what I'm getting (though broken into a couple lines so this forum will accept it): Warning: is_dir(): Stat failed for /home/office/public_html/Library/1_NNHP-produced/4_Maps /Peterson2003/BRTEreport_DVD.zip (errno=75 - Value too large for defined data type) in /home/office/public_html/index.php on line 104 Here is line 104: if (is_dir($dir . "/" . $listing)) { ---- Server IP: 64.71.164.2 Probable Submitter: 167.154.42.157 ---- Manual Page -- http://www.php.net/manual/en/function.is-dir.php Edit -- https://master.php.net/note/edit/70687 Del: integrated -- https://master.php.net/note/delete/70687/integrated Del: useless -- https://master.php.net/note/delete/70687/useless Del: bad code -- https://master.php.net/note/delete/70687/bad+code Del: spam -- https://master.php.net/note/delete/70687/spam Del: non-english -- https://master.php.net/note/delete/70687/non-english Del: in docs -- https://master.php.net/note/delete/70687/in+docs Del: other reasons-- https://master.php.net/note/delete/70687 Reject -- https://master.php.net/note/reject/70687 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#119050) next »