How to create a HTTP Authentication dialog box by using PHP and HTML.

I want dialog box below the url.

what do you got so far?

as the answer in the other thread, it is still a .htpassw box http://www.htaccesstools.com/htpasswd-generator/
\in reply to the pm sent, and to keep all answers in the thread where they can be seen and commented/corrected

My project is on database authentication.I need Dialog box under URL(which i was shown in the image)

the dialog box shown is http authentication for a folder protected by .htpassw
For database authentication you need the db language, and server scripting
common options are mysql and php
the google search would be, "create a user login system in php and mysql"
there are thousands of scripts to download and examine to get your own set up

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.