Re: [PHP] Apache and $HTTP_SERVER_VARS[]

2001-01-22 Thread Richard Lynch
> 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. What Apache gives depends on what Apache is configured to give... $PHP_SELF is sup

[PHP] Apache and $HTTP_SERVER_VARS[]

2001-01-22 Thread Todd Cary
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) . '/'; ech