Reply to Re: Missing $GLOBALS SCRIPT_URI

Your name:

Reply:


Posted by Gary C. New on 02/19/05 23:03

It turns out that SCRIPT_URI is a mod_rewrite global.

I simply had to turn the RewriteEngine On under the unencrypted (http)
location and it worked perfectly.

Thank you for the suggestions.

Respectfully,


Gary


pete M wrote:
> 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
>
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация