php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18232 passing data over forms
Submitted: 2002-07-08 18:21 UTC Modified: 2002-07-08 18:28 UTC
From: bolomaja1 at shaw dot ca Assigned:
Status: Not a bug Package: Variables related
PHP Version: 4.2.1 OS: win 98
Private report: No CVE-ID: None
 [2002-07-08 18:21 UTC] bolomaja1 at shaw dot ca
::: Used with Apache :::
Created page1.php, 1 form, 1 text box named "a", submit button. set the forms action to page2.php and method to post

Created page2.php with code :
<?php
 print $a;
?>


Notice: Undefined variable: a in c:\program files\apache group\apache\htdocs\page2.php on line 9

???
thats just gay

Patches

a2011 (last revision 2011-06-04 14:58 UTC by micheal407 at yahoo dot co dot uk)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-08 18:28 UTC] eru@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-2024 The PHP Group
All rights reserved.
Last updated: Tue May 28 01:01:31 2024 UTC