note 59240 deleted from function.pathinfo by nlopess

From: Date: Thu, 15 Feb 2007 13:07:15 +0000
Subject: note 59240 deleted from function.pathinfo by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-123418@lists.php.net to get a copy of this message
Note Submitter: Darren ---- Basename without extension, the true 'base' file name... <?php $path_parts['basename_we'] = substr($path_parts['basename'], 0, -(strlen($path_parts['extension']) + ($path_parts['extension'] == '' ? 0 : 1))); ?>

« previous php.notes (#123418) next »