Here is an idea, I wrote a registration script for my users. It verifies the accounts by sending an email with a unique code in it. The users must enter this code to activate their account.
The script submits to itself over and over again until it is satisfied with all the requirements (extensive error checking, most if not all the bugs are gone). And finally the only other script I use is one to activate the accounts. So two scripts total, one much more complex than the other.
BTW, the temp data is stored in session variables..
http://www.ledwichmedia.com/php/regi...n/register.php
~C