Re: Missing $GLOBALS SCRIPT_URI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



try
$_SERVER['SCRIPT_URI'];

Gary C. New wrote:
I am writing some php code that requires the $GLOBALS['SCRIPT_URI']
variable.  When I access the code under its encrypted (https) location
it is available without issue.  However, when I try to access the code
under its unencrypted (http) location it is not available.  In fact,
phpinfo() shows that there are a lot less $GLOBALS available under the
http location than there are under the https location.

I am using Apache 1.39 with Php 4.2.3.

Your comments are greatly appreciated.

Respectfully,


Gary

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux