include file path errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux