...

View Full Version : Username Password CSS? HTML?



MTM_F-
03-20-2005, 09:08 PM
I dont know what I do to get a username password box to work on my site. www.teamFminus.cjb.net Check it out, if anyone knows how to get a database for the info, itd be great

Ranger56
03-20-2005, 10:21 PM
CSS just makes the style of the page. I'm pretty sure you gotta do the password with javascript.



<!-- ONE STEP TO INSTALL PASSWORD PROMPT:

1. Put the designated coding into the BODY of your login HTML document -->

<!-- STEP ONE: Copy this code into the BODY of your login HTML document -->

<BODY>

<SCRIPT LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var password = ''
password=prompt('Please enter your password:','');
if (password != null) {
location.href= password + ".html";
}
// End -->
</SCRIPT>

<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size: 0.58 KB -->

I found that. Try it.

JamieR
03-20-2005, 10:33 PM
Using Javascript as a way to log visitors in and out is very insecure. A server side language like PHP and using MYSQL as a database is far far more secure. There are loads of tutorials around on the internet to do this.

~Jamie.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum