accept post data from form, process, then redirect data to another script
I thought this would be fairly easy, but upon sitting down to do it, now I dunno.
i have an html file with a form, and this POSTs data to a PHP script. it's actually a signup form. i want to add another input box to the signup form to get extra info, but the catch is that the PHP file that process the form is encrypted and i can't edit it. so, my idea was: change the html of the form to submit to myform.php, then i'll process the new data field, and re-POST the form to the original file, "encoded.php".
except i'm not sure how to do that or if it's possible... i could use curl of course, but the user needs to be kept down this path of
user fills form -> i process the data -> original php file processes it, checks for invalid info, etc -> user lands on post-signup page, whether it was a success or it's now telling them what info needs corrected.