Jump to content


ip help


  • Please log in to reply
1 reply to this topic

#1 Guest_PcGamerz13_*

Guest_PcGamerz13_*
  • Guests

Posted 06 March 2006 - 12:11 PM

Fixed

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 06 March 2006 - 12:18 PM

Depends of your definition of "doesn't work". This might well work, however:
$MyIp = "68.144.218.226";
$Ip = $_SERVER['REMOTE_ADDR'];
if ($MyIp != $Ip){
    echo "<center><font face='verdana' size='2'>SITE UNDER CONSTRUCTION</font></center>";
    exit();
}

Legend has it that reading the manual never killed anyone.
My site




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users