Close a php page by ip
By liviu - Posted on November 8th, 2010
Tagged:
If you need to only show a php page to a certain ip, a quick dirty way would be :
if ($_SERVER['REMOTE_ADDR'] != '82.76.167.52')
{
exit();
}
Bookmark/Search this post with:
- liviu's blog
- Login or register to post comments
Delicious
Digg
StumbleUpon
Propeller
Reddit
Magnoliacom
Newsvine
Furl
Facebook
Google
Yahoo
Technorati
Icerocket