IP-Banning
| From: | Daniel Schierbeck | Date: | Mon, 23 Aug 2004 16:24:36 +0000 |
| Subject: | IP-Banning | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-35857@lists.php.net to get a copy of this message | ||
Hi there,
I'm writing a script that'll enable me to ban certain IP-addresses from a site, and i have a qouple of questions:
1. When inserting the IP into the database (probably MySQL), should
i use the dotted- or the long-type?
2. What is the best way to ban IP ranges?
--
Daniel Schierbeck