Hey ragers,
So what my problem is is that if someone registers into my hotel than they have the same IP as me.
i dont know how to fix this
so can someone please help me ?
Sorry for my bad english im dutch :blushing:
Printable View
Hey ragers,
So what my problem is is that if someone registers into my hotel than they have the same IP as me.
i dont know how to fix this
so can someone please help me ?
Sorry for my bad english im dutch :blushing:
You're making no sense, Can you give a bit more details? So what you're saying is that there ip is your ip? Makes no sense have neever seen this problem before unless all of your users are secretly your neighbor knocking off of your internet, i don't understand what is going on here.. Maybe give more details like i said. :)
He means that everyone on his hotel shares the same IP, meaning he is using some kindof proxy that everyone goes through which results in everyone having the same IP..
Erm I have heard of this problem once before and my best guess it is your CMS or you didnt configured something correctly.
Open up global.php and add this code at the top, just under the <?php line.
PHP Code:if(isset($_SERVER["HTTP_CF_CONNECTING_IP"])) {
$_SERVER["REMOTE_ADDR"] = $_SERVER["HTTP_CF_CONNECTING_IP"];
}