note 79622 added to function.is-dir

From: Date: Wed, 05 Dec 2007 22:25:00 +0000
Subject: note 79622 added to function.is-dir
Groups: php.notes 
Request: Send a blank email to php-notes+get-132864@lists.php.net to get a copy of this message
Took a while to figure this out, but - DONT USE THIS IN A LOOP WITH READDIR()! readdir() only gives the file/dir name and not the full path which is_dir apparently needs to be able to accurately evaluate the argument. ---- Server IP: 69.147.83.197 Probable Submitter: 67.100.67.6 ---- Manual Page -- http://www.php.net/manual/en/function.is-dir.php Edit -- https://master.php.net/note/edit/79622 Del: integrated -- https://master.php.net/note/delete/79622/integrated Del: useless -- https://master.php.net/note/delete/79622/useless Del: bad code -- https://master.php.net/note/delete/79622/bad+code Del: spam -- https://master.php.net/note/delete/79622/spam Del: non-english -- https://master.php.net/note/delete/79622/non-english Del: in docs -- https://master.php.net/note/delete/79622/in+docs Del: other reasons-- https://master.php.net/note/delete/79622 Reject -- https://master.php.net/note/reject/79622 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#132864) next »