You are here: Re: Splitting uploads up/ concatenating them back together « PHP Programming Language « IT news, forums, messages
Re: Splitting uploads up/ concatenating them back together

Posted by Lāʻie Techie on 11/22/60 11:27

On Sat, 24 Sep 2005 08:02:34 -0700, nwheavyw8@gmail.com wrote:

> okay, I think that I am just going to have to write a program to split it
> client-side then send them over. I know I can do that, but how would I go
> about concatenating them back together? Would I use a loop to read and
> echo one file at a time or something?

The hardest part would be knowing how many parts there are and the
correct order for them. Either have the user supply a manifest file (list
of all the files, one per line) or enter how many parts and indicate if
the suffix is padded (file.mpg.01) or not (file.mpg.1). You now have
enough information to continue cycling over the upload screen until all
parts are on the server. At this point, just concat the files together in
the proper order.

HTH,
Laie Techie

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация