php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21639 Form fields are not translated into php variables
Submitted: 2003-01-14 12:00 UTC Modified: 2003-01-14 12:01 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: felandres at globo dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.3.0 OS: windows XP
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: felandres at globo dot com
New email:
PHP Version: OS:

 

 [2003-01-14 12:00 UTC] felandres at globo dot com
Hi,
  I?m having a single problem that don?t allow me to work with HTML forms, any fields placeds into it aren?t brought to the php script as variables... 
  If a declare a text field called (name), when I inspect the value of the ($name) variable it returns an error with the message "Notice: Undefined variable: name in <filename>", but if I read the value of ($_GET["name"]) variable it returns the passed value!!
  Predefined variables or variables declared on a same script file are gotten with no problems, but passed ones are not recognized as declared variables.

  My cofiguration is:
   * PROCESSOR: Pentium Celeron 800;
   * MEMORY: 128 MB;
   * OS TYPE : WindowsXP;
   * HTTPd Server: Apache 1.3;
   * PHP ENGINE: 4.3.0 Win32 (with ALL libraries)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-14 12:01 UTC] 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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC