Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch Topic

Question:how to Disallow Uploading Files?

Edit /etc/php.d/security.ini and set the following directive to disable file uploads for security reasons:


If users of your application need to upload files, turn this feature on by setting upload_max_filesize limits the maximum size of files that PHP will accept through uploads:

# user can only upload upto 1MB via php

asked Sep 13, 2013 in PHP by rajesh
edited Sep 12, 2013
0 votes

Related Hot Questions

Government Jobs Opening