There is a gazillion number of tutorials online on how to make a login system in PHP. Google them. I highly recommend the Beginning PHP 5.3 book as it will .