Welcome Guest, Not a member yet? Register   Sign In
How to set allowed_types to any extension except .php?
#1

Hi, I'm afraid there are no built in support for blocking file extension(s). You will need to check the file extension yourself before you use do_upload() or only whitelist what you want.
เบทฟิก
Reply
#2

Use the validation rules for file uploads.
https://codeigniter4.github.io/CodeIgnit...le-uploads
Reply




Theme © iAndrew 2016 - Forum software by © MyBB