Form variables not passed: register_globals = On
| From: | Petre Agenbag | Date: | Mon, 12 Aug 2002 08:26:46 +0000 |
| Subject: | Form variables not passed: register_globals = On | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-112101@lists.php.net to get a copy of this message | ||
Hi
I have posted here about session problems etc, but I think I found the
problem:
My Form variables are not passed at all!
Look at this:
index.php
<form action="page2.php" method="POST"
enctype="multipart/form-data">
<input type="text" name="test"><input type="submit"
name="submit">
</form>
page2.php
<?php
echo " HTTP_POST_VARS :".$_HTTP_POST_VARS["test"]."<br>";
echo " POST_VARS: ".$_POST["test"]."<br>";
echo " normal test :".$test."<br>";
?>
I have installed a "everything" RedHat 7.3 installation, and changed
NOTHING to the default php.ini...
Can anyone help?