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 Hurring" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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
> --
> "Chris Schmidt" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > 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 include("config.php");
> > >
> > >
> > > "Chris Schmidt" <[EMAIL PROTECTED]> wrote in message
> > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > > 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]">news:[EMAIL PROTECTED]...
> > > > > 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 be
more
> > > > specific.
> > > > >
> > > > > --
> > > > > Stuart
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to