require, include problems

From: Date: Thu, 16 Nov 2000 19:44:08 +0000
Subject: require, include problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-25765@lists.php.net to get a copy of this message
Maybe this has been discussed, but I could not find my specific question. why is it that on includes and requires I can't call them from the root like <? require("/global_includes/css.inc"); ?> instead it only works like this(on internal pages) <? require("../global_includes/css.inc"); ?> Hopefully I am just missing something dumb, I'd like to be able to include a file without having a massive trail of dots and /'s <? require("../../../../../global_includes/css.inc"); ?> confused, Jerry Lake

« previous php.general (#25765) next »