[symfony-users] Re: How to manage big uploads

2009-11-02 Thread Eno
On Wed, 28 Oct 2009, Gorka wrote: How do you manage a 200Mb file upload using http and php only? And more importan, is it really the best way to work with such big uploads? As Gareth already pointed out, one strategy would be to alter the max upload and execution limits so the upload

[symfony-users] Re: How to manage big uploads

2009-11-01 Thread andrew cs
depends of the limitations of your apache, you could modificate the .conf file, i solve this problem whit simple formulary, you colud see my project in http://code.google.com/p/ge-folder/ in my folder module. bytes. -- solo mi almohada conoce el peso de mis sueños.

[symfony-users] Re: How to manage big uploads

2009-10-30 Thread Gareth McCumskey
The best practice is really restricted by your project requirements. If you can use flash components to do the job, then that is probably best. If your limited to PHP then ini_set is something you need to consider as large files that take a long time to load will cause PHP's script execution time

[symfony-users] Re: How to manage big uploads

2009-10-29 Thread DEEPAK BHATIA
Please send me the code for same if possible. Thanks On Thu, Oct 29, 2009 at 10:47 AM, Gareth McCumskey gmccums...@gmail.comwrote: I think what he means is PHP's built in script execution time limitations and so on. One thing that you can do is dynamically alter the max execution time and

[symfony-users] Re: How to manage big uploads

2009-10-29 Thread Gorka
Think of a website with a video gallery, managed by the site administrator who is a regular user with no particular interest on learning what FTP is and how to use it. Or, simply, because you want to give him a web integrated management with no external tools. Think of a dedicated server with

[symfony-users] Re: How to manage big uploads

2009-10-29 Thread Gareth McCumskey
http://php.net/manual/en/function.ini-set.php On Thu, Oct 29, 2009 at 8:35 AM, DEEPAK BHATIA toreachdee...@gmail.comwrote: Please send me the code for same if possible. Thanks On Thu, Oct 29, 2009 at 10:47 AM, Gareth McCumskey gmccums...@gmail.comwrote: I think what he means is PHP's

[symfony-users] Re: How to manage big uploads

2009-10-29 Thread Gorka
Thanks, Gareth and Deepak, but Im not searching for php.ini configurarion and there is no code i can show. Im asking for the best practice when it comes to uploading big files such as video files. Thanks, anyway :) On Oct 29, 8:02 am, Gareth McCumskey gmccums...@gmail.com wrote:

[symfony-users] Re: How to manage big uploads

2009-10-29 Thread Miloslav Kmeť
I do it exactly like you described. I have no code to share, but you can really look in the php.ini settings especially on the settings upload_max_filesize post_max_size There is no magic. Metadata from the uploaded video i am retrieving with ffmpeg-php and I never need to increase the

[symfony-users] Re: How to manage big uploads

2009-10-28 Thread DEEPAK BHATIA
Every web application has a limit on upload else your server could be crashed for no space On Wed, Oct 28, 2009 at 4:41 PM, Gorka glopezdeto...@gmail.com wrote: When it comes to video or audio files, uploading via http forms does not seem to be the best approach: timeouts, size limits,

[symfony-users] Re: How to manage big uploads

2009-10-28 Thread Gareth McCumskey
I think what he means is PHP's built in script execution time limitations and so on. One thing that you can do is dynamically alter the max execution time and memory limits during the upload process based on the file size. On Wed, Oct 28, 2009 at 5:30 PM, DEEPAK BHATIA