Re: [PHP] Automatic Form processor

2004-10-20 Thread Dan Joseph
As Dan has already said, something like this is what you need: foreach ( $_POST as $key = $value ) { if ( substr( $key, 0, 4 ) == quest ) echo $value: $key\n; } HOWEVER, this leaves your script wide open to security issues, because you're placing all the power in the HTML

[PHP] Automatic Form processor

2004-10-19 Thread Lone Wolf
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

Re: [PHP] Automatic Form processor

2004-10-19 Thread Dan Joseph
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

Re: [PHP] Automatic Form processor

2004-10-19 Thread Justin French
On 20/10/2004, at 12:42 PM, Lone Wolf wrote: 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