Better with the new PHP script ;-)
Smaller & better version of check-ip-net-mask.php