Re: [PHP] Re: accessing level above $_SERVER['DOCUMENT_ROOT']

2009-06-19 Thread LAMP
Peter Ford wrote: LAMP wrote: hi, I have this structure: /home/lamp/mydomain/html /home/lamp/mydomain/logs /home/lamp/mydomain/config etc. html directory is the only one accessible from outside. to access config file I can use this: required_once('/home/lamp/mydomain/config'); but this is

[PHP] Re: accessing level above $_SERVER['DOCUMENT_ROOT']

2009-06-19 Thread Shawn McKenzie
Peter Ford wrote: > LAMP wrote: >> hi, >> >> I have this structure: >> /home/lamp/mydomain/html >> /home/lamp/mydomain/logs >> /home/lamp/mydomain/config >> etc. >> >> html directory is the only one accessible from outside. >> >> to access config file I can use this: >> required_once('/home/lamp/my

[PHP] Re: accessing level above $_SERVER['DOCUMENT_ROOT']

2009-06-19 Thread Peter Ford
LAMP wrote: > hi, > > I have this structure: > /home/lamp/mydomain/html > /home/lamp/mydomain/logs > /home/lamp/mydomain/config > etc. > > html directory is the only one accessible from outside. > > to access config file I can use this: > required_once('/home/lamp/mydomain/config'); > > but thi