Steppin out on a limb here, but I believe PHP just uses the underlying File
System calls. If they are case-sensitive then PHP will. If not, then no.
--
Scott Carr
Documentation Maintainer
http://documentation.openoffice.org
OpenOffice.org
Quoting milisphp <[EMAIL PROTECTED]>:
> Hi there,
>
The following script:
$noVar = "Hey";
print "1: $noVar \n";
print "2: $novar \n";
produces this output:
1: Hey
2:
on my Win2k box with PHP 4.2.1.
i can't see why your machine would output any
differently AFAIK, PHP has always been
case-sensitive for variables. what version of
PHP are you
Yes includes work My problem is with case of vars
if I have this on my Win2k
$includePath ="test";
echo $includepath;
the output is test
if I do the same on a unix box the output is nothing
Case Sesitivaty seems to have been turned of on my Win2K box. I would like
it back on.
"Scott Hurr
I assure you, include() does work ;-)
Verify that the file is indeed present in the 'include_path' (as set
manually by ini_set() or in 'php.ini'), and make sure that the
server is actually parsing PHP files correctly.
--
Scott Hurring
Systems Programmer
EAC Corporation
scott (*) eac.com
--
"Chri
include("config.php");
does not work;
where is config.php in relation to the document that is calling it?
eg say your using http://www.blah.com/foo.php and that needs the config.php file..
if you use just include("config.php"); then config.php must be in the same place as
foo.
include("config.php");
does not work;
"Peter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> PHP variable names are case sensitive aren't they?
>
> It might just be that config.php can be found by Win2000 without the
> $includepath-as if you were typing includ
PHP variable names are case sensitive aren't they?
It might just be that config.php can be found by Win2000 without the
$includepath-as if you were typing include("config.php");
"Chris Schmidt" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Sorry.
>
> I have
Sorry.
I have an Windows 2000 box running PHP as CGI
I use this
$includePath ="../";
include($includepath."config.php");
Works on my Windows 2000
not on unix.
I change $includePath to $includepath and it works on both.
"Stuart Dallas" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">n
On Tuesday, June 25, 2002 at 9:27:42 PM, "Chris Schmidt" wrote:
> Why on windows is PHP not case-sensitive but on Unix it is? And can this be
> configured
If you mean filenames, this is a choice the filesystem designers made and there
is no way to change it. If this is not what you mean, please