Posted by Mathijs on 01/11/06 11:43
George Pitcher wrote:
> Mathijs wrote:
>
>> Is there a way to have include() be case-insensitive?
>
> If you are know that all your file and directory names are lower case, but
> users may input mixed case responses that will be used to determine the
> include, you can set the case of the user input to lower case with
> strtolower(). Or strtoupper() - the choice is yours.
>
> If you have been a bit careless in naming your directories or filenames,
> then I'd do some site maintenance and get that sorted first.
>
> George
Owkay, its clear :).
I just wondered if it was possible, would save some other trouble :).
Thx for the help.
[Back to original message]
|