note 49489 deleted from function.basename by tularis

From: Date: Sun, 30 Jan 2005 10:09:20 +0000
Subject: note 49489 deleted from function.basename by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-84201@lists.php.net to get a copy of this message
Note Submitter: KOmaSHOOTER at gmx dot de Reason: useless ---- if you want only the name of the parent directory and not the path to it <?php $_parenDir = array_pop(array_slice(split( "/" ,dirname($_SERVER['PHP_SELF'])),0,-1)); ?>

« previous php.notes (#84201) next »