huh... why PHP? It should be done via Web Server N/OR Firewall.damnit. not even some pr()lack at PHP can do this??
If you're using Apache as your web server, I bet there is tons of mods for that... Just a little googling and I bet you'll find it.know of any third-party applications that are able?? <,<