|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Need a simple PHP/MySQL Login script with no Sessions/Cookies
Hello!
I am a newbie to PHP & MYSQL. I have a login table in MySQL username & password fields. I am looking for a simple log in script with no sessions & cookies stuff...pls If login correct I hv to get redirected to another form else display error message & ask to re login......any immediate Help Pls... I have looked out there on google...not even a single simple login script for a NEWBIE...like me... Thanks, Sean |
|
#2
|
||||
|
||||
|
So you don't want to have anything that keeps them logged in right?
Try something like this Your form Code:
<form action="myfile.php" method="POST"> Username: <input type="text" name="username"><br> Password: <input type="password" name="password"><br> <input type="submit" name="login" value="Login"> </form> Code to process the form PHP Code:
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Need a simple PHP/MySQL Login script with no Sessions/Cookies |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|