PHP upload file types
PHP upload file types
Out of context: Reply #8
- Started
- Last post
- 10 Responses
- mitsu0
you need to know how to read the headers in the particular file you anticipate to be uploaded. ever file type has it's own unique type of
header.however, that type of validation is overkill. there's usually little need to check for these types of inconsistencies.
just using the extension should be adequate.