note 46681 deleted from function.realpath by nlopess

From: Date: Sun, 07 Aug 2005 11:11:19 +0000
Subject: note 46681 deleted from function.realpath by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-93196@lists.php.net to get a copy of this message
Note Submitter: steudel at attenstion dot de ---- I just mentioned a quite confusing aspect of realpath(). Suppose a path '/my/existing/path' that really exists and a path '/my/existing/path/nonexistentsubdir' that doesn't. A call to <?php realpath('/my/existing/path/nonexistentsubdir/..'); ?> will fail because it contains a non-existent path. watch out! ;-)

« previous php.notes (#93196) next »