Simple question: Is it possible to get all the data POSTed to a page, even if you don\'t know all the fields?
For example, I want to write a simple script that colle
To add to the others, var_export might be handy too:
$email_text = var_export($_POST, true);
You can retrieve all the keys of the $_POST array using array_keys(), then construct an email messages with the values of those keys.
var_dump($_POST) will also dump information about all of the information in $_POST for you.