note 24854 deleted from function.basename by alindeman
| From: | alindeman@php.net | Date: | Fri, 09 May 2003 22:12:30 +0000 |
| Subject: | note 24854 deleted from function.basename by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-47782@lists.php.net to get a copy of this message | ||
'Get Filename without path and extension':
$filename=current(split("\.",basename($SCRIPT_NAME)));
That's the shortest one. Right?