include file path errors
| From: | kmh496 | Date: | Sat, 08 Apr 2006 09:15:51 +0000 |
| Subject: | include file path errors | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-233531@lists.php.net to get a copy of this message | ||
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?
muchas gracias.
--
my site <a href="http://www.myowndictionary.com">myowndictionary</a>
was
made to help students of many languages learn them faster.