Skip to content

Tag: file-type

List of file types php

I’m looking for a list/description detailing the file type php assigns based on an uploaded file. I have the following script. It takes the uploaded file, and the file type. Compares it to the array …

s3 direct upload restricting file size and type

A newbie question but I have googled abit and can’t seem to find any solution. I want to allow users to directly upload files to S3, not via my server first. By doing so, is there any way the files can be checked for size limit and permitted types before actually uploading to S3? Preferably not to use f…