Posted by "George Pitcher" on 01/11/06 10:16
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
Navigation:
[Reply to this message]
|