mybb user ip problem
techu Offline
Member
***
Posts: 154
Joined: Sep 2010
Post: #7
RE: mybb user ip problem
I actually copy pasted the code that you provided but I got error in init.php but the same thing worked fine in function.php.

Code:
1
2
3
4
5
6
function get_ip()
{
    if(isset($_SERVER['HTTP_X_REAL_IP']))
	{
	$_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_X_REAL_IP'];
	}


[Image: banner.png]
(This post was last modified: 04-30-2011 10:42 PM by techu.)
04-30-2011 10:41 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
mybb user ip problem - techu - 04-30-2011, 02:19 PM
RE: mybb user ip problem - ZiNgA BuRgA - 04-30-2011, 03:23 PM
RE: mybb user ip problem - techu - 04-30-2011, 05:32 PM
RE: mybb user ip problem - ZiNgA BuRgA - 04-30-2011, 06:41 PM
RE: mybb user ip problem - techu - 04-30-2011, 07:10 PM
RE: mybb user ip problem - ZiNgA BuRgA - 04-30-2011, 10:21 PM
RE: mybb user ip problem - techu - 04-30-2011 10:41 PM

 Standard Tools
Forum Jump: