views:

38

answers:

1

I am using a simple yet effective anti-spam system at a comments module which seems to be working flawlessly for more than a year now.

Since it is capable of recognizing automated comment spam attempts, I am thinking of extending this security module with an ability of adding the offender IPs to a blacklist automatically.

Do you think that I should use PHP's SQLite for this, or should I stick to MySQL (which I'm already using at the site)?

Is there a difference at all between the two database systems in this regard?

+2  A: 

If you're going to extend something that already uses a DBMS, stick to that DBMS. SQLite is as good as MySQL for a project like this, but I wouldn't mix both DBMS in the same module, if it's what you're worrying about.

JP
I agree. SQLite would be perfect for this but it's kinda like having a toilet in your bathroom and wanting to add a urinal to it because it's more suited to peeing.
T Pops