Results 1 to 2 of 2

Thread: making a login form with php for htpasswd?

  1. #1
    Join Date
    Jun 2003

    making a login form with php for htpasswd?

    I have a directory that is well you know, protected, and inside that i have an index.html with all the ocntent on it, would it be possible instead of the pop up box default to actually have a login or how could i put a login somewhere else on the site to access the htpasswd?

  2. #2
    Join Date
    Apr 2006
    Using an .htpasswd file will make authentication appear in a popup box, styled by the browser. In order to make a custom login you will need to write a script in PHP or similar, which will most likely link to a database of some kind, although that is not totally required.

    Alternatively you could use an application that already has authentication built in and then modify it to your requirements.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center