Hi Todd!
On Mon, 22 Jan 2001, Todd Cary wrote:
> Rasmus -
>
> I am running Apache on my notebook so that I can do some development
> while I am "on-the-road". My code needs to obtain the URL and SERVER
> and I do this with $HTTP_SERVER_VARS. However, under Apache (I use IIS
> on the Win 2K server and $HTTP_SERVER_VARS contains many items) I am
> only getting the PHP_SELF item.
>
Why don't you get them from environment?
$sn = getenv('SERVER_NAME');
$ru = getenv('REQUEST_URI'); or 'SCRIPT_NAME', depending on what you need.
-- teodor
--
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]