Re: [PHP] Re: Trouble with include/require

2004-07-16 Thread A. Lanza
gt; > On Fri, 2004-07-16 at 10:35, Daniel Kullik wrote: > > > >>You should not overwrite the whole include-path. Just append new paths. > >>This should do: > >> > >>[code] > >>// Expand include-path (';' on Windows) > >>$sep = (&#x

Re: [PHP] Re: Trouble with include/require

2004-07-16 Thread A. Lanza
r(PHP_OS, 0, 3)) ? ';' : ':'; > ini_set('include_path', ini_get('include_path') . $sep . > dirname(__FILE__) . 'includes/'); > [/code] > > > Daniel > > > A. Lanza wrote: > > > Hi list, > > > >

[PHP] Trouble with include/require

2004-07-16 Thread A. Lanza
Hi list, i'm trying to include files in my php scripts but things seem not to work properly. In my script, i include a file like this: I have all include files in includes directory, that's a children of the directory where my scrips are. The include_path config. variable is set like this: inc