#21678 [Bgs]: cann't track vars of the form query string
| From: | nblattar at talk21 dot com | Date: | Fri, 17 Jan 2003 00:18:43 +0000 |
| Subject: | #21678 [Bgs]: cann't track vars of the form query string | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30311@lists.php.net to get a copy of this message | ||
ID: 21678
User updated by: nblattar@talk21.com
Reported By: nblattar@talk21.com
Status: Bogus
Bug Type: Strings related
Operating System: Linux RedHat8 & IIS on Win2000
PHP Version: 4.2.2
New Comment:
Thanks so much , it worked so well now.
best regards
Previous Comments:
------------------------------------------------------------------------
[2003-01-16 01:58:54] 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.
------------------------------------------------------------------------
[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