Bug #17376 Updated: Getting Undefined Variable: error for variable taken from html page calling it.

From: Date: Thu, 23 May 2002 07:04:18 +0000
Subject: Bug #17376 Updated: Getting Undefined Variable: error for variable taken from html page calling it.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8286@lists.php.net to get a copy of this message
ID: 17376 Updated by: derick@php.net Reported By: sheenathilak@hotmail.com -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Windows NT PHP Version: 4.2.1 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-05-23 02:58:57] sheenathilak@hotmail.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> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17376&edit=1

« previous php.bugs (#8286) next »