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
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]