15-05-2009, 12:05 AM
If you wanted to do it without the PHP. You could send the code to the user, then in the client you have a 'verify' section that you have to enter the code. The code gets sent to the server and if it works, you get verified.