Raised This Month: $ Target: $400
 0% 

Help about Country


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Torge
Veteran Member
Join Date: Oct 2011
Old 01-12-2013 , 05:35   Re: Help about Country
Reply With Quote #2

Just do it like:

PHP Code:
    new szIp[32];
    
get_user_ip(idszIpcharsmax(szIp), 1);
    
    new 
szCountry[32];
    
geoip_country(szIpszCountrycharsmax(szCountry));

    
// ... 
Torge is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode