php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17073 POST or GET: Notice: Undefined variable
Submitted: 2002-05-07 10:42 UTC Modified: 2002-05-08 09:02 UTC
From: Clemens_Ruis at at dot ibm dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.2.0 OS: W2K Pro & Win98 SE
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: Clemens_Ruis at at dot ibm dot com
New email:
PHP Version: OS:

 

 [2002-05-07 10:42 UTC] Clemens_Ruis at at dot ibm dot com
Error_Reporting is E_All

The Script is eyther:
--------------
<?
print test$;
?>
--------------
or
--------------
<html>
<head><title>TestForm</title></head>
<body>
<form action=test.php method=post>
<input type=text name=test>
<input type=submit value=testit>
</form>
<?
print test$;
?>
</body>
</html>
--------------
its named test.php and is located in: c:\apache\htdocs\test\

Wenn i run the Script in the explorer with: 
127.0.0.1/test.php?test=something

I get the Notice:
Notice: Undefined variable: test in c:\apache\htdocs\test\test.php on line 1

also when i use the Form, input some text and submit it, there is always this Error-(Notice).

I turned Error reporting to all, becouse none of my Forms are working!

PLS help,...
...of course it's just a misconfiguration,...
THX

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-08 08:41 UTC] sander@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.


 [2002-05-08 09:02 UTC] Clemens_Ruis at at dot ibm dot com
Thank you!

I found this out today but i had no time to correct this "Bug"-"Bogus"-report.
I'm very sorry!

Best regards Clemens Ruis
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Sep 13 20:00:01 2025 UTC