Re: Missing $GLOBALS SCRIPT_URI
| From: | pete M | Date: | Sat, 19 Feb 2005 11:54:05 +0000 |
| Subject: | Re: Missing $GLOBALS SCRIPT_URI | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-209063@lists.php.net to get a copy of this message | ||
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