Secure Login

I am new to php and I want to create a login requirement to a web page.
I want certain pages of my site to be accessible only by people who have logged in.

Kind of like this forum, but in php
can someone help me here.
I have set up PHP5 on my site.

Help me

two ways.

one: ask ppl to register.

two: use PHP HTTP authentication

Save [color=#CC0000]$97[/color] (max discount) on dreamhost by using promo code: [color=#CC0000]97CRAZY[/color].

Actualy I was asking more about the php implementation, not the general overview of the approach.

I would like to know how during the registration process you get those hard to read letters and numbers as part of the authentication process.


Help me, I am really new

That method of applying a simple “Turing test” to the login process in called a “captcha”.

Just google for that term and you will get lots of information.