Issues

ZF-3915: Add ContentType validator

Issue Type: New Feature Created: 2008-08-09T13:15:56.000+0000 Last Updated: 2008-10-01T10:17:50.000+0000 Status: Resolved Fix version(s): - 1.6.2 (13/Oct/08)

Reporter: Thomas Weidner (thomas) Assignee: Thomas Weidner (thomas) Tags: - Zend_File_Transfer

Related issues: Attachments:

Description

Add a validator which is able to check the type of files due to their content. By reading the first bytes of a file the most filetypes should be detectable. This should be saver than only rely on the mimetype.

Comments

Posted by Thomas Weidner (thomas) on 2008-10-01T10:17:49.000+0000

Instead the MimeType validator can now handle the fileinfo extension and the mime_content_type function.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts