General PHP Validators (very old)