#20561 [Opn->Bgs]: Can't track vars!
| From: | sniper@php.net | Date: | Fri, 22 Nov 2002 06:12:56 +0000 |
| Subject: | #20561 [Opn->Bgs]: Can't track vars! | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25521@lists.php.net to get a copy of this message | ||
ID: 20561
Updated by: sniper@php.net
Reported By: stonelee74@163.com
-Status: Open
+Status: Bogus
Bug Type: Apache related
Operating System: FreeBSD 4.7
PHP Version: 4.2.3
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-11-22 00:10:15] stonelee74@163.com
I had just install a web server.
all configuration is default.
but the track_vars is off. I can't transfer any form value to another
web page.
for example:
this is t.php
<html>
<head>
<title>t</title>
</head><bod>
<form name="test" action=test.php method=post>
name: <input type=text name="guest"><br>
<input type=submit>
</form>
</body>
</html>
this is test.php
<?php
echo $guest;
echo "1111";
?>
when I input something in the textbox and then click "submit", it only
display 1111, nothing else;
why?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20561&edit=1