How to set per-script upload_max_filesize limit?

Posted by Ilya Muromets on Stack Overflow See other posts from Stack Overflow or by Ilya Muromets
Published on 2012-11-02T10:58:12Z Indexed on 2012/11/02 11:00 UTC
Read the original article Hit count: 187

Filed under:
|
|

I have the following issue:

How to set per-script upload_max_filesize limit? I want to set a larger upload max filesize limit for a particular script (action). I know I could use .htaccess, but the problem is that all actions are being dispatched via single index.php file, which likely means for all actions .htaccess rules are the same. So is it possible to set a per-script max_upload_size for a single php script (action)?

Hope, you will be able to help me.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about php

Related posts about .htaccess