FroomHotel
New Member
- Jul 26, 2016
- 1
- 0
Hello,
Can someone tell my how I can set an user limit per IP in BrainCMS?
Please leave a comment
Can someone tell my how I can set an user limit per IP in BrainCMS?
Please leave a comment
You talk about how many connections to the client. my problem is brainCms registration of users. Need to register more than 3 users and find no place to change the limit of 3 users.In plusemu you can change it in config.ini. its game.tcp.conperip
In system/app/classes/class.user.php you’ll findYou talk about how many connections to the client. my problem is brainCms registration of users. Need to register more than 3 users and find no place to change the limit of 3 users.
$stmt = $dbh->prepare("SELECT ".$emuUse['ip_last']." FROM users WHERE ".$emuUse['ip_last']." = :userip");
$stmt->bindParam(':userip', userIp());
$stmt->execute();
if ($stmt->RowCount() < 4)
In system/app/classes/class.user.php you’ll find
PHP:$stmt = $dbh->prepare("SELECT ".$emuUse['ip_last']." FROM users WHERE ".$emuUse['ip_last']." = :userip"); $stmt->bindParam(':userip', userIp()); $stmt->execute(); if ($stmt->RowCount() < 4)
Change the 4 to the amount of accounts per ip