Bug #18357 Updated: $PATH_INFO,$SCRIPT_NAME not set
| From: | philip@php.net | Date: | Mon, 15 Jul 2002 17:28:01 +0000 |
| Subject: | Bug #18357 Updated: $PATH_INFO,$SCRIPT_NAME not set | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-14233@lists.php.net to get a copy of this message | ||
ID: 18357
Updated by: philip@php.net
Reported By: tonic@nondot.org
Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Linux 2.2.17-21mdk
PHP Version: 4.2.1
New Comment:
Q: "... why it worked with a snapshot of 4.2.1 ..."
I'm guessing an old version of php.ini was being used as php.ini-dist
in that snapshot does have register_globals = off.
Previous Comments:
------------------------------------------------------------------------
[2002-07-15 12:15:30] tonic@nondot.org
I am terribly sorry.. now I am confused as to why it worked with a
snapshot of 4.2.1 (http://www.php.net/~derick/php-4.2.1RC2.tar.bz2).
But anyways.. thanks for clearing that up!!
Thanks for all the hard work of the PHP developers.. you do a great
job!
-Tanya
------------------------------------------------------------------------
[2002-07-15 12:09:19] edink@php.net
In PHP 4.2.0, the 'register_globals' setting default changed to
be off. See http://www.php.net/release_4_2_0.php
for more info.
We are sorry about the inconvenience, but this change was a necessary
part of our efforts to make PHP scripting more secure and portable.
------------------------------------------------------------------------
[2002-07-15 12:06:44] tonic@nondot.org
The $PATH_INFO and $SCRIPT_NAME variables appear to not be set. I can
get access to it by using $HTTP_SERVER_VARS["PATH_INFO"] or
$HTTP_SERVER_VARS["SCRIPT_NAME"].
I am using Apache 2.0.36 (I tried to use 2.0.39 but PHP would not
compile, which is another issue). I have used this setup before on
Linux 2.4 and it worked fine..
Please let me know what other information I can provide.
-Tanya
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18357&edit=1