#21678 [Opn->Bgs]: cann't track vars of the form query string
| From: | derick@php.net | Date: | Thu, 16 Jan 2003 07:58:55 +0000 |
| Subject: | #21678 [Opn->Bgs]: cann't track vars of the form query string | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30229@lists.php.net to get a copy of this message | ||
ID: 21678
Updated by: derick@php.net
Reported By: nblattar@talk21.com
-Status: Open
+Status: Bogus
Bug Type: Strings related
Operating System: Linux RedHat8 & IIS on Win2000
PHP Version: 4.2.2
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:
------------------------------------------------------------------------
[2003-01-16 01:55:06] nblattar@talk21.com
i have 1.htm file as following :
<HTML>
<HEAD></HEAD>
<BODY>
<FORM METHOD=GET ACTION="2.php">
Who is your favourite author?
<INPUT NAME="Author" TYPE="TEXT">
<BR>
<BR>
<INPUT TYPE=SUBMIT>
</FORM>
</BODY>
</HTML>
*****
and the action file 2.php as following
<HTML>
<HEAD></HEAD>
<BODY>
Your favorite author is:
<?php
echo $Author;
?>
</BODY>
</HTML>
but after submit i got the following in 2.php
1- in the URL : http://localhost/2.php?Author=Tom
2- in the body i got only :
Your favorite author is:
With no value of $Author var even it is in the URL
Please help me
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21678&edit=1