A secure log in question from a newbie

heh Iā€™m a pure noobie honestly w/ this stuff, I want to make a page that has a secure login. My host supports php and all of that stuff, is there a tutorul or anything in that nature that can help me make this?

Just something like, person put in PW, site checks a secure file that no one else can look at, or hack into, and comes back and gives them permission, or can you already do this w/ html? :stuck_out_tongue: thanks