![]() |
Show content if country with mod_geoip by maxmind
Anyone has a code that can show banner a for all countries except for example, germany, I want to show banner b. I have maxmind's geoip installed on my server but can't find a code that will show everyone banner A except one country to see banner B.
|
I have it.
|
Can you post it or do you just want to show the size or your e-penis?
|
Quote:
PHP Code:
PHP Code:
|
Thanks for sharing :thumbsup (as replacement for the like button)
|
bookmarked
|
Another approach is to: |
Another graceful way to do the same:
PHP Code:
|
Sure, you can get visitor's country_code from various sources.
|
thanks everyone :)
|
Quote:
Quote:
this works, but how do I show nothing for some countries? |
Quote:
PHP Code:
http://www.tecmint.com/install-mod_g...centos-6-35-8/ |
Quote:
|
Quote:
PHP Code:
And if you wanna to show "nothing" for specified country just add: PHP Code:
|
All times are GMT -7. The time now is 09:29 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123