file manager

    Hello, Good Morning, please help me regarding file upload functionality. i m using the allowed extension for file restrictions but now i m facing the issue that is if i m save the exe file as pdf then it will done then how i can restrict?
1 answers

Hi ,

One common approach is to check the file's MIME type rather than solely relying on the file extension. MIME types provide a more reliable way to determine the file type regardless of the file extension.


Please check this answer, Hope this help: