Posted by lorento on 09/28/20 11:49
I think this is the easiest :
<?php
$IP = $_SERVER['REMOTE_ADDR'];
$IP_array = file('../info/1.list');
if (!array_search($IP, $IP_array))
die ("Banned");
else
echo "welcome";
?>
regards,
Lorento
--
http://www.mastervb.net
http://www.padbuilder.com
http://www.sederet.com
Navigation:
[Reply to this message]
|