php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17376 Getting Undefined Variable: error for variable taken from html page calling it.
Submitted: 2002-05-23 02:58 UTC Modified: 2002-05-23 03:04 UTC
From: sheenathilak at hotmail dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.2.1 OS: Windows NT
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sheenathilak at hotmail dot com
New email:
PHP Version: OS:

 

 [2002-05-23 02:58 UTC] sheenathilak at hotmail dot com
The content of text.html is

<HTML>
<HEAD>
</HEAD>
<BODY>
<FORM METHOD=GET ACTION=text.php>
Who is your favourite author?
<INPUT NAME="author" TYPE="TEXT">
<BR>
<BR>
<INPUT TYPE=SUBMIT>
</FORM>
</BODY>
</HTML>

The content of text.php is

<HTML>
<HEAD>
</HEAD>
<BODY>
<?php echo $author;
?>
</BODY>
</HTML>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-23 03:04 UTC] derick@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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 07:01:33 2025 UTC