Forum Moderators: coopster
Any help on this would be great.
Thanks again,
Mike
The script for the phone is written to check if the apache is up, if it can not reach my site then it will page. Which means if I block that IP from showing up inside of the ip.txt file that script will signal and say that my site is down, which it is not, its just that a block was placed on that IP.
Hope that helped,
Mike
If your distant computer doesn't have a dedicated IP, then you'll either have to check the IP range it uses or add a user agent so your site's server can easily pick it out.
If your php script produces the list you just can insert something like:if($ip!="xxx.xxx.xxx.xxx"){
write to the list
}else{
don't write to the list
}where xxx.xxx.xxx.xxx is the ip you'd like to block.
Where he says: "write to the list", that is the place you insert the code which logs the ip and browser. The part which says: "else { don't write to the list }" you can leave that completely off. The xxx.xxx.xxx.xxx is the dedicated IP.