You are here: Re: [PHP] Case-Insensitive include on linux. « PHP « IT news, forums, messages
Re: [PHP] Case-Insensitive include on linux.

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация