[PHP] setting the document root path in linux

2007-09-19 Thread tbt
Hi I'm a newbie to php and I'm using require_once($_SERVER['DOCUMENT_ROOT']./includes/class.announcement.php); to import pages in php. This works fine on a windows environment. However when I move this application to a linux environment the files dont get imported properly. This is

Re: [PHP] setting the document root path in linux

2007-09-19 Thread Chris
tbt wrote: Hi I'm a newbie to php and I'm using require_once($_SERVER['DOCUMENT_ROOT']./includes/class.announcement.php); to import pages in php. This works fine on a windows environment. However when I move this application to a linux environment the files dont get imported properly.

Re: [PHP] setting the document root path in linux

2007-09-19 Thread Jim Lucas
tbt wrote: Hi I'm a newbie to php and I'm using require_once($_SERVER['DOCUMENT_ROOT']./includes/class.announcement.php); to import pages in php. This works fine on a windows environment. However when I move this application to a linux environment the files dont get imported properly.