I'm a bit confused and need some help in the right direction. I'm working with a form where I let the user input the user name they want. Before sending the payment information to another URL for processing, I have to check the username to make sure it is not already found in the database. If it's there, I have to ask them to re-input the username, otherwise, I can continue sending the info to the payment processing URL.
I'm working with a form that is already in existance. It has some hidden variables. I'm assuming that I will have to post the page to itself first in order to check for a duplicate name. Once I've done that though, how do I get the hidden variables and other information to post to the original URL? If the page is posted back to itself, would the $HTTP_POST_VARS remain the same? Am I even on the right track? Or is there something I'm missing? And if anyone has any other suggestions, I would appreciate the guidance.
Thanks!