Quote:
Originally posted by playa
at least tell how to install the program
|
There is no install, basically, install mysql/php/apache (which im sure you guys already have done)
Next, copy this script so it is outside of your website.
When a user logs in, set the session ID, and on each page you will need to call checksession to ensure that session handler works..
How it works:
User logs in with their username/password, great, they get a session ID and move on into the site..
When another user logs in with the same info the program deletes the original session which was created with the same username/password which would bump the first guy out who logged in. basically, it becomes a loop of people logging other people out which makes the account useless since most accounts get hundreds of logins quickly!
Test it for yourself at
http://members.analmayhem.com
username:bob
password:1234
log in, open a new browser, log in in that browser, return the first browser and try surfing the site!
Joe
Joe