Re: Help - Register Globals
| From: | Petras Virzintas | Date: | Thu, 01 May 2003 03:56:46 +0000 |
| Subject: | Re: Help - Register Globals | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-145890@lists.php.net to get a copy of this message | ||
Hi Jason, thanks for the reply. Perhaps I've missed the point somewhere.
We have Windows applications which use the Microsoft Browser Control and create/post URLs such as:
webserver/webpage.php?User=uuuuu&Pass=ppppp&Var1=xxxxx&Var2=yyyyy etc.
These applications are running on the LAN where the user has already logged on with their username
and password. The above will not work if Register-Globals=Off. We don't want to use
Register-Globals=On because the webserver is also open to the rest of the world where the users log
on before getting to the web page.
Hope it makes sense
Petras
From: Jason Wong <php-general@gremlins.biz>
Reply-To: php-general@lists.php.net
To: php-general@lists.php.net
Date: Tue, 29 Apr 2003 17:22:36 +0800
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Message-Id: <200304291722.36121.php-general@gremlins.biz>
Subject: Re: [PHP] Help - Register Globals
On Tuesday 29 April 2003 11:28, Petras Virzintas wrote:
> Hi, I followed a recent thread about the "Register Globals" flag and got
> the impression that there may be a way to have it "on" for local
> connections (ie. LAN) and "off" for the rest of the world. Is this true? If
> so, could someone give me an example of the .htaccess entries.
It's possible, kind of ...
... but, I'm curious as to what would be the purpose of such a setup. It could
make debugging slightly easier but I really can't think of any *real* reason.
Perhaps if you say what kind of problem you're trying to solve there may be a
more obvious solution.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
You've always made the mistake of being yourself.
-- Eugene Ionesco
*/