I need to restrict upload file size via .htaccess to 50 kb. Because someone keep on uploading files my server without my knowledge. Is it possible to restrict 50kb or below? Whenever I need to upload files I can change the limit. Or else is there any other way to solve the problem?
Asked
Active
Viewed 67 times
1 Answers
0
Insert this in your htaccess file
php_valueu upload_max_filesize 50kb
php_value post_max_size 50kb

Szántó Zoltán
- 981
- 1
- 12
- 26