Title: [Plugin: Quick Flag] IP info not inside database
Last modified: August 20, 2016

---

# [Plugin: Quick Flag] IP info not inside database

 *  [thomasfals](https://wordpress.org/support/users/thomasfals/)
 * (@thomasfals)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/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.
 * [http://wordpress.org/extend/plugins/quick-flag/](http://wordpress.org/extend/plugins/quick-flag/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Marko-M](https://wordpress.org/support/users/marko-m/)
 * (@marko-m)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-quick-flag-ip-info-not-inside-database/#post-2650914)
 * Hello thanks for your report. Quick Flag is using ip-countryside database and
   even though it is very accurate it doesn’t have info about every single IP address
   out there. ‘IP info not inside database.’ means that your current IP address 
   is not amongst 270 000 IP address ranges inside database. You can test this database
   on [ip-countryside demo page](http://madm.dfki.de/demo/ip-countryside/) or at
   my demo sites for plugins that use Quick Flag [1](http://www.techytalk.info/wordpress-plugins/quick-count/),
   [2](http://www.techytalk.info/wordpress-plugins/quick-chat/). If all these demo
   sites can detect your country and your Quick Flag install spits ‘IP info not 
   inside database.’ then this is Quick Flag bug, please report back and I’ll do
   my best to fix it. Also some people have tested on their LAN, have to mention
   that Quick Flag only works on Internet not on local networks.
 * Regards,
    Marko

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Quick Flag] IP info not inside database’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/quick-flag.svg)
 * [Quick Flag](https://wordpress.org/plugins/quick-flag/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quick-flag/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quick-flag/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-flag/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-flag/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-flag/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Marko-M](https://wordpress.org/support/users/marko-m/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-quick-flag-ip-info-not-inside-database/#post-2650914)
 * Status: not resolved