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 limits and memory limits to kick in, thats why I pointed it out.
On Thu, Oct 29, 2009 at 4:41 PM, Gorka <[email protected]> wrote: > > > 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 <[email protected]> wrote: > > http://php.net/manual/en/function.ini-set.php > > > > On Thu, Oct 29, 2009 at 8:35 AM, DEEPAK BHATIA <[email protected] > >wrote: > > > > > > > > > > > > > Please send me the code for same if possible. Thanks > > > > > On Thu, Oct 29, 2009 at 10:47 AM, Gareth McCumskey < > [email protected]>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 < > [email protected]>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 <[email protected]> > 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 > > > -- Gareth McCumskey http://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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
