There are no best one, and there is no serious solution that can be a script. Authentication is a global policy and therefor must be integrated with the entire Web site. Either code your own or use a framework that implements it.
If you start to code you own implementation, remember that the your first attempts can be used only for non-sensitive data, as they will be weak (but sufficient for a casual web site).
Stoosh has some good leads you may want follow.
Just remember this is not as trivial as it seems, and obvious solutions are likely the less secure. But again, you probably doesn't need CIA style security, so don't stress and enjoy learning programming.