We need a php-script who is looking in a database (only with one field of blocked account-numbers) and if the number is in that database it must give a warning to the screen (or make it a warning on a field in a html-page). Same work to a database with ip-addresses.
So two times checking in two different databases with one field. Only php.
Make it simple