<?php
/*
this Snippet allows you to display content "ONLY" to a visitor from
a specific IP addresses in a page.
Change the $allowed "value" to the IP address you want.
*/
$allowed = '00.000.000.000';
$userip = $_SERVER['REMOTE_ADDR'];
if($userip == $allowed){
echo "This content is only viewed by the IP address you chose...";
}
?>