note 100845 deleted from function.basename by thiago

From: Date: Wed, 10 Nov 2010 18:11:30 +0000
Subject: note 100845 deleted from function.basename by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-173924@lists.php.net to get a copy of this message
Note Submitter: Marek K ---- @swedishboy: Note that since PHP 5.2 you can simply do: $filename = pathinfo($path, PATHINFO_FILENAME);

« previous php.notes (#173924) next »