Bug #17073: POST or GET: Notice: Undefined variable
| From: | Clemens_Ruis at at dot ibm dot com | Date: | Tue, 07 May 2002 14:42:18 +0000 |
| Subject: | Bug #17073: POST or GET: Notice: Undefined variable | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-7148@lists.php.net to get a copy of this message | ||
From: Clemens_Ruis@at.ibm.com
Operating system: W2K Pro & Win98 SE
PHP version: 4.2.0
PHP Bug Type: Scripting Engine problem
Bug description: POST or GET: Notice: Undefined variable
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
--
Edit bug report at http://bugs.php.net/?id=17073&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17073&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17073&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17073&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17073&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17073&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17073&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17073&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17073&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17073&r=globals