I need a login script that has the following functions…
1 – Let a user log in with their email address, and a password.
2 – Redirect to a URL after successful login.
3 – Log when a user logs in, both with the email address, and IP.
4 – Detect if a user is already logged in, and prevent anyone from logging in with the same email address.
“I kept having a problem with getting the script that Denis wrote to work, until he realized that I was making a small change that broke his script. He showed me how to accomplish what I needed to do in a manner that did not break the script, and it worked perfectly!”