Um, how's this work.
I'm assuming the file has to be renamed from index.html to index.php?
Never dealt with PHP before?
Quote:
Originally posted by Brandon Martus
heres some php
PHP Code:
<?php
if ( strstr($REMOTE_ADDR, '207.206') ) {
header ("Location: [url]http://this.site.com[/url]");
exit;
} else {
header ("Location: [url]http://that.site.com[/url]");
exit;
}
?>
I didn't test it out.
Let me know if it doesnt work, and I'll fix it.
|