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 lowe
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()
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 s
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 th
Hello there,
Is there a way to have include() be case-insensitive?
This would be very handy.
Thx in advanced.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
5 matches
Mail list logo