Your PHP.ini file "register_globals" directive should be set to Off, if it is on then you can access the form variables as globals directly by the form field name, otherwise you have to use PHP Variables to access from the POST or GET mothod the form. PHP provides the Global variables $HTTP_GET_VARS or $HTTP_POST_VARS to hold your form values. These associative arrays contain the name/value pairs submitted by your form. You should already be accessing these arrays to get the data to your database.
Put this near the top of your script on the confirmation PHP. This will set a variable with your name/values whether Get or Post method is used.
Code:
$PARAMS = ( count( $HTTP_POST_VARS ) )
? $HTTP_POST_VARS : $HTTP_GET_VARS;
You can then use the variables in your script by referring to the $PARAMS array like this. Assuming you have fields in your form of 'fristname', 'lastname', 'address'.
Code:
print $PARAMS['firstname'];
print $PARAMS['lastname'];
print $PARAMS['address'];
The form GET Method will pass the forms name/values appended to the URL string. This can help with testing and developing to see the variables. The POST method passes the variables hidden from view.
Check this URL for PHP Forms Intro.
http://www.informit.com/articles/art...=29587&redir=1