Anon
03-06-2002, 03:09 PM
Hi!
I have a strange problem..
<Form method=post action="pt.php" name="form1">
<input type="text" name="namnet">
<input type="submit" value="TESTA" name="tst">
When you push the button pt.php is "run".
My problem is that the pt.php file never gets the variables made up in this form.
The complete error given by my win-installation of apache follows:
[Wed Mar 06 19:47:34 2002] [error] PHP Warning: Undefined variable: namnet in c:\program\apache group\apache\htdocs\pt.php on line 7
------- EOF
As you soon might realize is that pt.php is the only file beeing used here.
When I try the exact same file on my linux-apache it works just fine...
PLEASE HELP!
Thanx!
(My system:
WinXP Pro
Apache 1.3
PHP 4.1.1)
I have a strange problem..
<Form method=post action="pt.php" name="form1">
<input type="text" name="namnet">
<input type="submit" value="TESTA" name="tst">
When you push the button pt.php is "run".
My problem is that the pt.php file never gets the variables made up in this form.
The complete error given by my win-installation of apache follows:
[Wed Mar 06 19:47:34 2002] [error] PHP Warning: Undefined variable: namnet in c:\program\apache group\apache\htdocs\pt.php on line 7
------- EOF
As you soon might realize is that pt.php is the only file beeing used here.
When I try the exact same file on my linux-apache it works just fine...
PLEASE HELP!
Thanx!
(My system:
WinXP Pro
Apache 1.3
PHP 4.1.1)