![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Programmer
Join Date: May 2007
Posts: 52
Rep Power: 2
![]() |
login system
ok im making a simple login. And im wondering how to make one besides using php. here's the code:
HTML file: <html> <head> <title> </title> </head> <body> <form action="login.php" method="post"> Username: <input type="username" name="username" /><br/> Password: <input type="password" name="password" /><br/> <input type="submit" value="Login" /> </form> </body> </html> <html> <body> <?php if ($_POST["username"]&&$_POST["password"]=="admin") echo "Login Successful"; else echo "Username and password are incorrect. Please try again"; ?> </body> </html> |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Php Login System | MikeC | PHP | 17 | Dec 17th, 2005 10:11 AM |
| PHP system commands | ktsirig | PHP | 6 | Oct 4th, 2005 1:24 AM |
| Why shouldn't we use System(); | Shapeless | C++ | 7 | Jul 19th, 2005 6:10 AM |
| how to login computers with same login and password | Tiger | Java | 5 | Jan 31st, 2005 7:53 PM |
| How to write a login system? | uman | C++ | 2 | Jan 13th, 2005 1:33 AM |