sungpeng Posted June 3, 2008 Share Posted June 3, 2008 hi I need a script to restrict multiple log in for php and mysql. Allow one user of same username to log in at a time. Can help thank Link to comment https://forums.phpfreaks.com/topic/108614-allow-one-user-of-same-username-to-log-in-at-a-time/ Share on other sites More sharing options...
Wolphie Posted June 4, 2008 Share Posted June 4, 2008 Sorry to be blunt, but you cannot expect people to just write it for you. If that's the case, this thread should be in the freelance forum. Link to comment https://forums.phpfreaks.com/topic/108614-allow-one-user-of-same-username-to-log-in-at-a-time/#findComment-557041 Share on other sites More sharing options...
chronister Posted June 4, 2008 Share Posted June 4, 2008 Color me dumb, but why would you have multiple people using 1 username?? If there is a good reason for it, then you would have to note which IP address the user is coming from and then block a 2nd attempt. In my opinion, too much work... just make everyone have a unique login. Nate Link to comment https://forums.phpfreaks.com/topic/108614-allow-one-user-of-same-username-to-log-in-at-a-time/#findComment-557043 Share on other sites More sharing options...
.josh Posted June 4, 2008 Share Posted June 4, 2008 Sorry to be blunt, but you cannot expect people to just write it for you. If that's the case, this thread should be in the freelance forum. QFT We're here to help you out on your own code, if you run into trouble. If you want someone to do it for you, hire someone. Or you can search around on google, maybe you'll find a free script that fits your needs. Thread closed. Link to comment https://forums.phpfreaks.com/topic/108614-allow-one-user-of-same-username-to-log-in-at-a-time/#findComment-557063 Share on other sites More sharing options...
Recommended Posts