Recent changes RSS feed
 

FileUploadPartialRule

PHP >= 4.2.0 only.

Input validation rule that tests for a partial file upload. Will raise an error upon partial file upload.

Example

$form->addRule (new FileUploadPartialRule ('fieldName'));

This example checks that the uploaded file specified by the field name “fieldName” was not a partial file upload.

Additional Information

 
wact/api/validation/rule/fileuploadpartialrule.txt · Last modified: 2006/12/09 17:16
 
Hosting for this site donated by Procata PHP Development