Welcome Guest, Not a member yet? Register   Sign In
IP filtering
#1

[eluser]Animas[/eluser]
I need to show ads based on country IP range. If I want to show "advertise.png"(in root folder) to usa visitors only how do I write the code?
#2

[eluser]Rokit[/eluser]
Code:
gethostbyaddr($ip);
Smile
#3

[eluser]Animas[/eluser]
Hmm. Will give that a try. Thanks.




Theme © iAndrew 2016 - Forum software by © MyBB