I want my website to be accessed from only two IP addresses. when ever the site is accessed by more than 2 IP addresses it will shoe an error. can any body done this in php please help me
teşekkür ederim
To restrict the number of concurrent users you need some kind of sessions stored in a database. Then, when a new user logs in, check if there are already two sessions from different ips and in this case throw an error.
O çıkış yoktu sırf o oturum açmasını başkası engel değildir bu yüzden birisi inaktif ise seans çabuk sona yapmak gerektiğini unutmayın.