note 1182 deleted from function.is-dir by jimw

From: Date: Thu, 18 Apr 2002 21:24:14 +0000
Subject: note 1182 deleted from function.is-dir by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-29540@lists.php.net to get a copy of this message
Inconsistancy between is_dir and is_readable. is_readable does not work on directories unless they are followed by a '/'. is_dir however works even if there is no trailing slash. I am not sure if this is a UNIX based issue or not, but remember to add that trailing slash. Hopefully this will save someone else the time that I wasted ;)

« previous php.notes (#29540) next »