note 81279 deleted from function.is-file by betz
| From: | betz@php.net | Date: | Thu, 21 Feb 2008 11:58:02 +0000 |
| Subject: | note 81279 deleted from function.is-file by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-136350@lists.php.net to get a copy of this message | ||
Note Submitter: choofins at gmail dot com
----
The following will get the file extension after the last ".":
<?php
$fileExtension = strrchr($file_name, ".");
?>