Table of Contents

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