I am looking for a simple php script that can rotate text based on IP(Computer IP).
I got a site and if you look at the site it should rotate between 2 different texts. But if a blocked IP user look at the page will see a specific piece of text.
Just like cloaking but a simple one I can copy into a wordpress blog and it should only change a piece of the site not the hole site.
Something like this but the option to say that if these ips enter the site show ex. nr1 text.
<?
$text[]="1";
$text[]="2";
$text[]="3";
$text[]="4";
$text[]="5";
// Print the random text
echo $text[rand(0,count($text)-1)];
?>
So a IP cloaking script with text rotator.