[PHP-DB] File Upload in PHP

2012-02-01 Thread Trinath Somanchi
Hi All- I have doubt regarding file upload in PHP. With out updating the INI file settings, Can PHP process File upload just like Apache handling Multipart post. Like, Irrespective of post_max_size being 8M, PHP must process a 15MB Post data (15MB Uploaded file.) How to work this out with PHP.

Re: [PHP-DB] File Upload in PHP

2012-02-01 Thread Karl DeSaulniers
I would set post_max_size in your htaccess for the directory where your upload.php file is. Or base64 your file and upload 8Mb chunks, then reassemble and store. but I am sure someone has a better solution than I. also, I may be wrong on this too, but this is a PHP General question, not

Re: [PHP-DB] File Upload in PHP

2012-02-01 Thread Karl DeSaulniers
Sry, not better help... better luck. :) Best, Karl On Feb 1, 2012, at 7:01 AM, Karl DeSaulniers wrote: I would set post_max_size in your htaccess for the directory where your upload.php file is. Or base64 your file and upload 8Mb chunks, then reassemble and store. but I am sure someone

Re: [PHP-DB] File Upload in PHP

2012-02-01 Thread Ege Sertçetin
Hi Trinath, You can use ini_set() function to change ini settings only for your upload script. http://php.net/manual/en/function.ini-set.php However, you cannot change any parameter you want. There is a list about php.ini parameters. As I remember, you just can set PHP_INI_ALL and