Hello!
Want to make it possible that only 1 user can register an account per IP? This is smart if your users create tons of multiaccounts just to get credits or something..
Do this:
1. Open register.php
2. Search for this line: include('templates/login/register_subheader.php');
3.
The orginal will look like this:
Code:include('templates/login/register_subheader.php'); include('templates/login/register_header.php'); ?>
Replace with this:
Code:include('templates/login/register_subheader.php'); include('templates/login/register_header.php'); $sql = mysql_query("SELECT * FROM users WHERE ipaddress_last='$_SERVER[REMOTE_ADDR]'"); if(mysql_num_rows($sql) > 0) { echo "<center><br><br><br>ONLY 1 IP PER USER ALLOWED!"; echo '<meta http-equiv="refresh" content="5; url=index.php"> '; die; } ?>
4. Save and replace with the orginal register.php file
Screens:
Sorry for bad lang.. ;)




![[REL] 1 user per IP for HoloCMS [REL]](http://ragezone.com/hyper728.png)




