questions - 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

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.