note 86065 deleted from function.mime-content-type by danbrown
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
Note Submitter: hgonzalez at bsiweb.com ---- i've had success for getting a file extension by using strrchr($filename,'.'), this gets me the extension along with the '.'. if you don't want the dot, you can trim it off as well.