Re: Setting the filetype!
| From: | Kevin Beckford | Date: | Fri, 23 Jun 2000 16:51:53 +0000 |
| Subject: | Re: Setting the filetype! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2817@lists.php.net to get a copy of this message | ||
> Wow. Isn't that overkill just to get the extension? How about:
>
> $ext = strrchr($_file,'.');
Well, yes I could have done that, but I needed to do more general stuff besides
find the text after the period with that code. What can I say? Let us move on
:)