Re: [PHP] Difficulties including scripts from another folder (apache2.2, PHP5, Vista)

2007-06-10 Thread Richard Lynch
On Sat, June 9, 2007 9:04 pm, Robert Cummings wrote: > On Sun, 2007-06-10 at 01:02 +0100, brice wrote: >> Thanks a lot guys! >> >> Eventually Richard hit on the issue: >> >> >require(".\foo.inc.php"); ?># >> > >> >If you put .\ in there, then maybe PHP thinks you mean to NOT use >> the >> >include_

Re: [PHP] Difficulties including scripts from another folder (apache2.2, PHP5, Vista)

2007-06-09 Thread Robert Cummings
On Sun, 2007-06-10 at 01:02 +0100, brice wrote: > Thanks a lot guys! > > Eventually Richard hit on the issue: > > >require(".\foo.inc.php"); ?># > > > >If you put .\ in there, then maybe PHP thinks you mean to NOT use the > >include_path, but only the local directory? > > > >Take .\ out. > > it

Re: [PHP] Difficulties including scripts from another folder (apache2.2, PHP5, Vista)

2007-06-09 Thread brice
Thanks a lot guys! Eventually Richard hit on the issue: require(".\foo.inc.php"); ?># If you put .\ in there, then maybe PHP thinks you mean to NOT use the include_path, but only the local directory? Take .\ out. it was the .\ that stopped it working. taking it out worked a treat! thanks a

Re: [PHP] Difficulties including scripts from another folder (apache2.2, PHP5, Vista)

2007-06-09 Thread Richard Lynch
On Thu, June 7, 2007 10:29 pm, brice wrote: > I was wondering if anybody had any ideas about how to tackle this > problem: > > I have just set up Apache2.2 and php5 on VISTA There's your first problem. [smirk] > using mod_php. Php page > load > work fine for most things. However, when i try to se

Re: [PHP] Difficulties including scripts from another folder (apache2.2, PHP5, Vista)

2007-06-07 Thread Robert Cummings
On Fri, 2007-06-08 at 04:29 +0100, brice wrote: > Hi, > > I was wondering if anybody had any ideas about how to tackle this problem: > > I have just set up Apache2.2 and php5 on VISTA using mod_php. Php page load > work fine for most things. However, when i try to separate some .php files > for i

[PHP] Difficulties including scripts from another folder (apache2.2, PHP5, Vista)

2007-06-07 Thread brice
Hi, I was wondering if anybody had any ideas about how to tackle this problem: I have just set up Apache2.2 and php5 on VISTA using mod_php. Php page load work fine for most things. However, when i try to separate some .php files for inclusion throughout the website in a separate folder to the v