Re: include file path errors

From: Date: Sat, 08 Apr 2006 17:11:49 +0000
Subject: Re: include file path errors
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-233566@lists.php.net to get a copy of this message
At 6:15 PM +0900 4/8/06, kmh496 wrote:
hi, my webroot is /a/b/current/ i am in /a/b/current/d/file.php file.php has a line require_once ($_SERVER[document_root]."/d/common.php"); it finds the file, but the variables inside common.php are not set and don't exist in file.php where is my mistake?
Probably in your links -- the methodology should work. tedd -- -------------------------------------------------------------------------------- http://sperling.com

« previous php.general (#233566) next »