Resy
Rookie

i need multi user login script for a program?


Help me in writing a multi user login script that allows me to easily password protect my site. I donot have enough knowledge of php. So tell me, should I work on php or javascript. Some people told me that php is secure and can have more than one user with this useful script. So tell me how I can write a multi user login script?
6 months ago
Respond to this discussion
Sunil Paliwal | Jan 12 2012

first we can create a login form using html or php and save it as a form1.php.

The php code will tell the programmer that he or she typed a wrong username or password.
between the <form></form> tags we have 3 input fields. 1 for the username, 1 for the password, and 1 that will submit.

the form will be sent using the "post" method.

Then create another new page and save it as login2.php.

Form has the two field 1. action 2. get and post.

in the first form's action field we assign the address of second form(login2.php).

when we press the submit button. it will directly call second form....


© 2012, Instamedia. Some rights reserved. Powered by Instapress and Instacheckin.