Re: case-sensitive
| From: | Chris Schmidt | Date: | Tue, 02 Jul 2002 20:48:40 +0000 |
| Subject: | Re: case-sensitive | ||
| References: | 1 2 3 4 5 6 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14543@lists.php.net to get a copy of this message | ||
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" <scottspam@eac.com> wrote in message
news:20020702201401.81555.qmail@pb1.pair.com...
> 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" <cschmidt@alloyinteractive.com> wrote in message
> news:20020702001402.52274.qmail@pb1.pair.com...
> > include("config.php");
> > does not work;
> >
> > "Peter" <newsaddress@saracenvsu.org.uk> wrote in message
> > news:20020625213620.45536.qmail@pb1.pair.com...
> > > 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" <cschmidt@alloyinteractive.com> wrote in message
> > > news:20020625212839.40893.qmail@pb1.pair.com...
> > > > 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" <stuart@sharedserver.net> wrote in message
> > > >
> > > > news:359854910.20020625221644@sharedserver.net...
> > > > > 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
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>