note 31823 deleted from function.basename by alindeman
| From: | alindeman@php.net | Date: | Fri, 09 May 2003 22:13:12 +0000 |
| Subject: | note 31823 deleted from function.basename by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-47786@lists.php.net to get a copy of this message | ||
To get the file extention, just use strrchr($anyfilename,'.');
No need to use basename(), regex's, etc - which may cause problems for double extensions..