PDA

View Full Version : need simple password protection HTML script



matt9875
10-01-2006, 06:00 PM
does anyone know a password protection HTML script thats askes the user for the username and password then if there correct it sends the user to another page n if its wrong it sends them to the index.

and if its possible can the usernames and passwords be stored in a seporate file.

Dan Williamson
10-01-2006, 06:05 PM
Use a MySQL Database too store the passwords and encrypt them in MD5

www.Pixel2Life.com give good encryption tutorials.

- Dan

matt9875
10-01-2006, 06:07 PM
oh yer by the way my host doesnt let me use MYSQL cuz ill have to pay extra to use them.

is it possable to store it in a simple fikle like a seporate HTML file or a txt file?

Dan Williamson
10-01-2006, 06:08 PM
If you have cPanel then you can use .ht access too password protect directories but not encrypt passwords or anything.

I don't think you can. Unless you use flatfiles but I don't know if your host would allow them either.

- Dan

matt9875
10-01-2006, 06:11 PM
oo that sounds good..how do i do that?

Dan Williamson
10-01-2006, 06:20 PM
Well first of all.

Do you have cPanel?

- Dan

matt9875
10-01-2006, 06:23 PM
i think i do

Dan Williamson
10-01-2006, 06:24 PM
Show me a screenie of where you upload your files etc.

- Dan

matt9875
10-01-2006, 06:30 PM
Show me a screenie of where you upload your files etc.

- Dan

do you mean the uploader

Dan Williamson
10-01-2006, 06:31 PM
The homepage in which you are re-directed too when you log-in

- Dan

matt9875
10-01-2006, 06:35 PM
1 sec ime taking the screen shot

matt9875
10-01-2006, 06:44 PM
opps i lied i can use MYSQL

Want to hide these adverts? Register an account for free!