php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20477 $_POST and $_GET issues
Submitted: 2002-11-18 03:34 UTC Modified: 2002-11-18 03:39 UTC
From: amits at beanarchitect dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.2.1 OS: Windows 2000 Professional
Private report: No CVE-ID: None
 [2002-11-18 03:34 UTC] amits at beanarchitect dot com
When using php on windows, for retreiving the values passed by the forms on another page, we have to use $_GET or $_POST before variable name, instead of the name of the id passed of the object.

But when we are using php4.1.2 this is not a problem. why is it so?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-18 03:39 UTC] derick@php.net
In PHP 4.2.0, the 'register_globals' setting default changed to
'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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 10:01:29 2024 UTC