Bug #14926 Updated: php.ini-recommended problem

From: Date: Tue, 08 Jan 2002 11:00:48 +0000
Subject: Bug #14926 Updated: php.ini-recommended problem
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-76248@lists.php.net to get a copy of this message
ID: 14926
Updated by: hholzgra
Reported By: jacky@vivasoft.com.my
Status: Bogus
Bug Type: *Configuration Issues
Operating System: Windows XP Pro
PHP Version: 4.1.1
New Comment:

from php.ini-dist (4.1.1):

; - register_globals = Off         [Security, Performance]
;     Global variables are no longer registered for input data (POST,
GET, cookies,
;     environment and other server variables).  Instead of using $foo,
you must use
;     you can use $_REQUEST["foo"] (includes any variable that arrives
through the
;     request, namely, POST, GET and cookie variables), or use one of
the specific
;     $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or
$_FILES["foo"],
depending
;     on where the input originates.  Also, you can look at the
;     import_request_variables() function.
;     Note that register_globals is going to be depracated (i.e., turned
off by
;     default) in the next version of PHP, because it often leads to
security bugs.
;     Read http://php.net/manual/en/security.registerglobals.php
for
further
;     information. 


Previous Comments:
------------------------------------------------------------------------

[2002-01-08 03:42:21] mfischer@php.net

Unless you don't provide more information (self-contained sample, etc)
this is bogus.

------------------------------------------------------------------------

[2002-01-08 03:30:05] jacky@vivasoft.com.my

By using php.ini-recommended, I could not get form variables' values,
while php.ini-dist could work properly.

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14926&edit=1



Thread (3 messages)

« previous php.dev (#76248) next »