Accessing $_POST data, PHP 4.2.2 on Unix
Posted: Mon Nov 25, 2002 9:02 am
With the following code used to initiate the page:
Then how come (in archive.php):
I have no objection to using $_REQUEST, but would appreciate clarification of what is happening with the tramsmitted vars.
Code: Select all
<?php
<form method=post action="archive.php?Doit=1">
<input type=image src="images/m_set.gif" name="Submit">
</form>
?>Code: Select all
<?php
$Doing = 0 + $_POSTї'Doit']; // does not work
$Doing = 0 + $_REQUESTї'Doit']; // does work
?>