php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14926 php.ini-recommended problem
Submitted: 2002-01-08 03:30 UTC Modified: 2002-01-08 06:00 UTC
From: jacky at vivasoft dot com dot my Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 4.1.1 OS: Windows XP Pro
Private report: No CVE-ID: None
 [2002-01-08 03:30 UTC] jacky at vivasoft dot com dot my
By using php.ini-recommended, I could not get form variables' values, while php.ini-dist could work properly.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-08 03:42 UTC] mfischer@php.net
Unless you don't provide more information (self-contained sample, etc) this is bogus.
 [2002-01-08 06:00 UTC] hholzgra@php.net
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. 

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 02:01:28 2024 UTC