note 13041 deleted from function.filetype by irc-html
| From: | irc-html@php.net | Date: | Thu, 03 Jan 2002 02:37:19 +0000 |
| Subject: | note 13041 deleted from function.filetype by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-24354@lists.php.net to get a copy of this message | ||
Want the extension off? Try this:
$noext = str_replace(strrchr($filename,'.'),"",$filename);