note 44951 deleted from function.count by aidan
| From: | aidan@php.net | Date: | Sat, 21 Aug 2004 07:19:23 +0000 |
| Subject: | note 44951 deleted from function.count by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-75043@lists.php.net to get a copy of this message | ||
Note Submitter:
----
@michael at htmlland dot net
Hi
this seems to be quicker and easier:
<?php
$i=strrpos("+".$filename,'.');
if ($i>0) $extension=substr($filename,$i); else $extension='';
?>
Welcome,
Corco @ www.natuerliche-verhuetung.de/contact.html