05-08-2010, 08:32 PM
(05-08-2010, 01:25 PM)danieljackson12 Wrote: In order to create a password on a Web site, use PHP to program the back end of the password field.
To use this in conjunction with sending data such as a contact form or a login then you'd need to have it sent out to a php script by using code such as:
[code=html]
<form name="contact_form" method="post" action="mailer.php" onsubmit="return validate_form ( );">
<input type="submit" value="Submit" name="submit" onsubmit="return validate_form ( );"/>
[/code]
In this specific example i got from a contact form on my other website, it's validated using Javascript before it's even sent. That's what the validate_form ( ) is.
This tutorial is on how to make a password field using HTML, and that's what it does. PHP is another story.