php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18653 retrieve data from GET and POST error
Submitted: 2002-07-30 11:59 UTC Modified: 2002-07-30 12:01 UTC
From: steveleung dot geo at yahoo dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.2.2 OS: Win2k
Private report: No CVE-ID: None
 [2002-07-30 11:59 UTC] steveleung dot geo at yahoo dot com
In the param.php, the value can't be retrieve by
$value after clicking the link. It need to use $_GET["value"] or $_POST["value"] to retrieve the value.
param.php :
<?
echo '<a href="param.php?value=5">value=['.$_GET["value"].']</a>'
?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-30 12:01 UTC] rasmus@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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 11:00:02 2026 UTC