php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23813 Cant get values from form
Submitted: 2003-05-26 09:34 UTC Modified: 2003-05-26 09:43 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: granroth_dan at hotmail dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.3.1 OS: Windows XP Pro with IIS
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: granroth_dan at hotmail dot com
New email:
PHP Version: OS:

 

 [2003-05-26 09:34 UTC] granroth_dan at hotmail dot com
I installed php 4.3.1 on my machine and registerd php.exe in IIS. All my scripts works fine except that I cant get values from form-fields. The examples I have seen says that if I f ex have a textfield named userid, I should be able to get what's typed in by typing something like "if ($userid != "") {...}". However the variables are always empty. Am I doing somthing wrong or is this a bug ?

Regards

Dan Granroth

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-26 09:43 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: Sat Jul 12 11:01:32 2025 UTC