> 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
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
2 matches
Mail list logo