Ask a Question
Advertise on boostr.in
boostr.in 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
Sep 13, 2013
Sep 12, 2013
to add a comment.
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please