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 max_execution_time (because I 
never process the video in a web request).

If you would like to use some kind of progressbar for user, you need to find 
your uploader (uploadify, swfupload) or you can do it yourself for example 
with APC. There are many example on the internet.

~
Miloslav Kmeť

Dňa Št 29. október 2009 Gorka napísal:
> 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:
> > http://php.net/manual/en/function.ini-set.php
> >
> > On Thu, Oct 29, 2009 at 8:35 AM, DEEPAK BHATIA 
<toreachdee...@gmail.com>wrote:
> > > Please send me the code for same if possible. Thanks
> > >
> > > On Thu, Oct 29, 2009 at 10:47 AM, Gareth McCumskey 
<gmccums...@gmail.com>wrote:
> > >> 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 
<toreachdee...@gmail.com>wrote:
> > >>> 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, etc...
> > >>>> usually get on the way.
> > >>>>
> > >>>> How would you manage big (+20MB) or batch uploads? I guess the best
> > >>>> solution would be a client-side code either in java, flash o
> > >>>> silverlight using FTP to upload the files and server-code to process
> > >>>> the uploaded files if needed, but I'd like to know how people are
> > >>>> solving this issue.
> > >>
> > >> --
> > >> Gareth McCumskey
> > >>http://garethmccumskey.blogspot.com
> > >> twitter: @garethmcc
> >
> > --
> > Gareth McCumskeyhttp://garethmccumskey.blogspot.com
> > twitter: @garethmcc
>
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to