note 80651 rejected from function.is-file by danbrown
| From: | danbrown@php.net | Date: | Wed, 16 Jul 2008 20:00:03 +0000 |
| Subject: | note 80651 rejected from function.is-file by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141586@lists.php.net to get a copy of this message | ||
Note Submitter: sasha1rus at gmail dot com
----
To Guilherme guilherme at gmail dot com:
What if the filename is "SomeClass.class.php"? Then the extension returned would be
"class.php" instead of just "php".
The method proposed by cristian dot ban at neobytesolutions com is more effective in this case.