Hey all, I'm looking to deny access to all IPs except those that fall into a specific IP range. 192.168.0.* in this case. Am I missing something out of this code, it don't work too well ;-)
<? $localip = "192.168.0.13"; if ($REMOTE_ADDR == $localip) { ?> Allowed! <? } else { ?> Denied! <? } ?> Thanks in advance :-) Liam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php