Tuesday, 15 January 2013

PHP redirect based on IP addresses -


I need to show the IP address of the specific category and the content for others that I want to redirect.

I got this code to check the IP address:

    

The code works, it actually redirects to Yahoo, but I need to show the content instead of redirection. And redirect all other IP addresses.

How do I modify the script?

Your approach is weird that those in_array matches against wild cards just do not seem to be anything That's all IP preggers patterns.

   

No comments:

Post a Comment