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
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
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
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
4 matches
Mail list logo