Re: Case-Insensitive include on linux.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

this is very stupid because you can have files in a directory named:

PleaSeINCLUDeMe.php
pleaseincludeme.php

and if you do a case insensitive include which one should be included?
The include stuff works insensitive under windows great because the
filesystem does not permit 2 file with the same name in a directory.
The example above is not possible.

-- Marco

2006/1/11, Albert <albert@xxxxxxxxxxxx>:
>
> Mathijs wrote:
> > Is there a way to have include() be case-insensitive?
> Linux file systems are case sensitive. The include() and require()
> functions
> try to open the file specified. If you enter the wrong case the file
> system
> will return that the file does not exist.
>
> Albert
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.14.17/226 - Release Date:
> 2006/01/10
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
Marco Kaiser

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux