Automatic Form processor
| From: | Lone Wolf | Date: | Wed, 20 Oct 2004 02:42:40 +0000 |
| Subject: | Automatic Form processor | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-199840@lists.php.net to get a copy of this message | ||
I've googled for this one and so far have come up empty handed.
I am in need of a PHP script that will take any POST data and parse it into
a file and email it out to users. The data needs to be completely
changeable, whether I have 20 items or 400, I just want to throw everything
to the script via POST and let it take the POST information and manipulate
it.
IE:
<form method="post" action="parse.php">
<input type="text" name="question_1">
<input type="text" name="question_2">
<input type="text" name="question_3">
<input type="text" name="question_4">
<input type="text" name="question_5">
...
<input type="text" name="question_69">
<input type="text" name="question_70">
<input type="submit">
-----------------------
//parse.php
<?php
.....
//append to file
....
//create mail body
...
//mail to recipients
...
?>
Thanks,
Robert
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.778 / Virus Database: 525 - Release Date: 10/15/2004