Hello all, ip0.txt contains the *list* of ip's but, the system only takes 1 ip. (if i put in more than 1 ip, it says error)
so, is there anyway i can split the ip's?
00.00.00.000, 00.xx.xx.xxx, etc....
can someone make the below code so it takes more than 1 ip (seperated by a ;)
thanks (=
[php]$ip = fopen("/home/yuvoo/public_html/uzumakionline/ip0.txt", "r");
if ($ip) {
while (!feof($ip)) {
$line = fgets($ip, 4096);
if($_SERVER['REMOTE_ADDR'] != $line)
{
exit('|PROXY|PR OXY|');
}}
}fclose($ip);
}[/php]
so, is there anyway i can split the ip's?
00.00.00.000, 00.xx.xx.xxx, etc....
can someone make the below code so it takes more than 1 ip (seperated by a ;)
thanks (=
[php]$ip = fopen("/home/yuvoo/public_html/uzumakionline/ip0.txt", "r");
if ($ip) {
while (!feof($ip)) {
$line = fgets($ip, 4096);
if($_SERVER['REMOTE_ADDR'] != $line)
{
exit('|PROXY|PR OXY|');
}}
}fclose($ip);
}[/php]
Comment