#18653 [Opn->Bgs]: retrieve data from GET and POST error

From: Date: Tue, 30 Jul 2002 16:01:32 +0000
Subject: #18653 [Opn->Bgs]: retrieve data from GET and POST error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15601@lists.php.net to get a copy of this message
ID: 18653 Updated by: rasmus@php.net Reported By: steveleung.geo@yahoo.com -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Win2k PHP Version: 4.2.2 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2002-07-30 11:59:29] steveleung.geo@yahoo.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>' ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18653&edit=1

« previous php.bugs (#15601) next »