Password Screen

They have: 5,633 posts

Joined: Jan 1970

I'm new to web design and html, and i was wondering how do i want to create a login screen for an admin control panel, and i don't know the code to do this. I'm pretty sure you can do this with HTML, could anyone tell me the code to do this?

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

no you can't. at least, not only with it. you can write the form all you like in html, but it won't do anything without a server-side language.

hence, I'm moving this post.

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

The simplest method of password protecting an area is using an .htpasswd file and locking down a directory.

More info:
http://webmaster-forums.com/showthread.php?s=&threadid=15162

Mark Hensler
If there is no answer on Google, then there is no question.

mjames's picture

They have: 2,064 posts

Joined: Dec 1999

Many hosts with a half-decent control panel let you do this easily. CPanel includes a "protect directories" feature - you might want to check to see if you have that.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.