[Plugin: Quick Flag] IP info not inside database
-
When echoing the short code or using your example `if(isset($_SERVER[‘HTTP_X_FORWARD_FOR’]))
$ip = $_SERVER[‘HTTP_X_FORWARD_FOR’];
else
$ip = $_SERVER[‘REMOTE_ADDR’];if(function_exists(‘quick_flag_get_info’)){
if(($info = quick_flag_get_info($ip)) != FALSE )
$flag = quick_flag_get_flag($info);
else
$flag = ‘IP info not inside database.’;
} else
$flag = ‘Quick Flag plugin not installed or not activated.’;`I get the output: IP info not inside database. I have taken a look at the database and all the country and IP info is there. I have tried accessing the site via different IP addresses and country locations (remote servers and VPN) and nothing seems to work.
- The topic ‘[Plugin: Quick Flag] IP info not inside database’ is closed to new replies.