[PHP-DB] IP-Banning

2004-08-23 Thread Daniel Schierbeck
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? --

Re: [PHP-DB] IP-Banning

2004-08-23 Thread Greg Donald
On Mon, 2004-08-23 at 11:24, Daniel Schierbeck wrote: 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