http://www.devshed.com/c/a/PHP/Creating-a-Secure-PHP-Login-Script/
There is a tutorial on how to create it yourself, you should create things yourself so you learn as you're going along, also, chances are you'll be able to customise it easier than if it was a copy & paste style script that I gave you.