note 80651 added to function.is-file
| From: | sasha1rus at gmail dot com | Date: | Sun, 27 Jan 2008 21:40:22 +0000 |
| Subject: | note 80651 added to function.is-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-135444@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 71.237.230.194
----
Manual Page -- http://www.php.net/manual/en/function.is-file.php
Edit -- https://master.php.net/note/edit/80651
Del: integrated -- https://master.php.net/note/delete/80651/integrated
Del: useless -- https://master.php.net/note/delete/80651/useless
Del: bad code -- https://master.php.net/note/delete/80651/bad+code
Del: spam -- https://master.php.net/note/delete/80651/spam
Del: non-english -- https://master.php.net/note/delete/80651/non-english
Del: in docs -- https://master.php.net/note/delete/80651/in+docs
Del: other reasons-- https://master.php.net/note/delete/80651
Reject -- https://master.php.net/note/reject/80651
Search -- https://master.php.net/manage/user-notes.php