Does anybody have a simple .php script that I can put on a webserver and then POST or
GET to it such that the form will automatically print all of the form elements and corresponding
values?
Thank you.
arguments in a web form
Moderator: General Moderators
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Code: Select all
<?php
foreach ($_POST as $key => $value)
{
echo '<p>The POST var $_POST[' . $key . '] has a value of => ' . $value . '.</p>';
}
?>