This question seems to always have 2 sides to it. If I make a register.php with the registration form, should I have it submit to processreg.php or should it just process all on the same page? Same thing for login.
I have read that it may e more secure to have them on separate pages and you will not run into form resend problems, but what's your take on this matter? I am creating a site with potentially hundreds of thousands (100K+) users on it, should I just make it go to processreg.php, then if it's invalid, redirect back to register.php with the variables stored so user doesn't have to reenter data?
little off from main point, but would not be cool if the whole registration was a function? Like would that NOT be recommended?