Apache and $HTTP_SERVER_VARS[]

From: Date: Mon, 22 Jan 2001 17:29:22 +0000
Subject: Apache and $HTTP_SERVER_VARS[]
Groups: php.general 
Request: Send a blank email to php-general+get-36035@lists.php.net to get a copy of this message
With IIS $path gives the actual path to the directory in which the PHP scripts reside. With Apache, $path is empty. What have I missed? This is my first use of Apache, so it's configuration is new for me. $path = $HTTP_SERVER_VARS[URL]; $path = ereg_replace("/[^/]+$","",$path) . '/'; echo('Path: ' . $path . '<br>'); Track_vars = On Todd -- Todd Cary Ariste Software todd@aristesoftware.com

« previous php.general (#36035) next »