CodeIgniter Forums
How to disable uploading files except one page - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: How to disable uploading files except one page (/thread-74661.html)



How to disable uploading files except one page - Eagertocode - 10-21-2019

Hello!
I need to disable all uploads in php code except the pages where I want to upload.
How to do this? Thanks!


RE: How to disable uploading files except one page - jreklund - 10-21-2019

Just don't include a upload form. It won't know what to do with the file if it's posted outside your website.