Best approach for letting the player rigister an account before they can play my game online

Hello,

I want to make a shooter and if you want to play that shooter online you must have a rigisterd account. for offline you can make a simple account ingame with just a name, but for online i want to make stats with kills and all that stuff so you must register your account with a nickname and password.

just like ubisoft if you want to play some of there games online you must go to there site and rigister a nickname,password and optinoal fields are age and that stuff. so i want to create something like that but what is the best approach?

Do I have to do it with a site? or can it all be done with a standalone that I run then for 24/7 and players can make their account ingame or what is all possible to archive something like that? ( I like it the most on a webpage but if that is to diffecult I do like to hear that).

Later on I want some more things to do with the server like holding the stats so people can see what there rank is.

How to start on this? I know someone who could help me a LITTLE bit php scripting and a LITTLE bit HTML for webpages.

For scripting in unity it self I have some scripting experience. Made some multiplayer games already and want to go a step further now.

Thanks in advance any ideas appreciated,

Lemon,

PS : I own a .com webpage and have at home a server pc that is 24/7 active.

EDIT : the game itself will be run at a webplayer but server can run in standalone and I have Unity Pro.

Well because nobody answerd my question I started with some tutorials for PHP and I am going to try to make a rigister page with database in php. Hope this was a good option. Its a very simple script language for so far i have seen.