Re: [new] PEAR::assertExtension()
| From: | Tomas V.V.Cox | Date: | Mon, 17 Jun 2002 13:57:42 +0000 |
| Subject: | Re: [new] PEAR::assertExtension() | ||
| References: | 1 2 3 4 5 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7119@lists.php.net to get a copy of this message | ||
Pierre-Alain Joye wrote:
>
> On Mon, 17 Jun 2002 15:45:42 +0200
> "Tomas V.V.Cox" <cox@idecnet.com> wrote:
>
> > "M@rms" wrote:
> > > $ext = strtolower($ext);
> Why convert to low cases ? that may not work under case sensitive OS.
>
I saw the point on do a little of error correction on users submitting
"Zlib" and things like so. But if there are extension with upper or
mixed case the function will fail of course.
What do you think on this? Could that happend?
Tomas V.V.Cox