Form variables not passing: globals IS on
| From: | Petre Agenbag | Date: | Mon, 12 Aug 2002 08:57:36 +0000 |
| Subject: | Form variables not passing: globals IS on | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-112102@lists.php.net to get a copy of this message | ||
Sorry, posted with the wrong address, here it is again:
I have RH 7.3 with "everything" install, and I didn't make ANY changes
to the default php.ini, and have checked it and register_global = On
Now, when I make a simple form and action page combo, the variables are
not passed:
You can see from this example that I use to test that I use all methods
possible to check where the values are, but all return blank...
index.php
<form action="page2.php" method="POST" >
<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>";
?>
What could cause this?