Page 1 of 1

upload problem

Posted: Tue Oct 17, 2006 6:06 am
by jito
hello friends,
i have problem uploading larze files.
i have tried everything, using MAX_FILE_SIZE, changing_max_execution_time,upload_max_filesize,post_max_file_size, but unable to solve.
i uploading process seems to be a never ending process in case of file more than 2 mb, but it works great when uploading small files.
any help?
thnx.

Posted: Tue Oct 17, 2006 8:14 am
by feyd
What did you change the values to?

Posted: Tue Oct 17, 2006 8:17 am
by jito

Code: Select all

ini_set("upload_max_filesize", '10M');
ini_set("post_max_size", '10M');
ini_set("max_execution_time", 30*60);
ini_set("memory_limit","64M");

Posted: Tue Oct 17, 2006 8:21 am
by feyd
Using ini_set() will have no affect on them, outside of maximum execution time for that script instance. Use an .htaccess or your web server's equivalent to alter the settings for php.

Posted: Tue Oct 17, 2006 8:27 am
by jito
thnx feyd, i have already e-mail them asking for permission. No other alternatives? What is the reason of time-out? i have tried:

Code: Select all

set_time_limit ( 0 );
but with no effect.