From CashCrusaderWiki

Revision as of 19:02, 26 October 2012 by Jutaky (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Use ip_country() function to get country name for an IP address.

To get country information for the current visitor/user, do not call ip_country($_SESSION['REMOTE_ADDR']), use ip_country constant instead as it already includes the country name.

Required CashCrusader version: 3.0.0

Example usage:

<?php echo ip_country(''); ?>

Personal tools
Administration manual