PHPMaster: ClamAV as a Validation Filter in Zend FrameworkBy Matthew Setter
Ok, so you’re pretty comfortable with using the Zend Framework, specifically the use of Forms. Along with that, you have a good working knowledge of how to combine a host of standard validators such as CreditCard , EmailAddress , Db_RecordExists , and Hex , and standard filters such as Compress/Decompress , BaseName , Encrypt , and RealPath . But what do you do when a situation arises that’s outside the scope of the pre-packaged validators and filters? Let’s say you want to guard against users uploading files that contain viruses, for example.