View Single Post
Old 18-12-2006, 01:58 PM   #5 (permalink)
army
co-admin
 
army's Avatar
 
Join Date: Oct 2006
Location: Belgium
Posts: 666
Default Re: [PHP] Login script with MySQL

Here is a demo (hosted by me!):

http://styx.freehostia.com/login/main_login.php
----> Username: demo
----> Password: demo


Note, password isn't encrypted ... and the input field for the password is not hidden. If you want to make it hidden (******) you have to do this:

Chnage the following line in main_login.php: [HTML]<input name="mypassword" type="text" id="mypassword">[/HTML]
Into this: [HTML]<input name="mypassword" type="password" id="mypassword">[/HTML]

An example of this is here:
http://styx.freehostia.com/login/main_login2.php
----> Username: demo
----> Password: demo
army is offline   Reply With Quote