PHP to redirect IP addresses to different page
By Martyn in PHP, Programming | 2 comments
If you would like to redirect browsers based on their IP the following method can be used to handle multiple IP’s. You can choose to redirect entire networks or a single ip.
<?php
//array of ip’s you wish to block. Note that you can block an
//entire class by replacing it with 0, so to block [...]
email this | tag this | digg this | trackback | comment RSS feed