Reply to Re: Splitting uploads up/ concatenating them back together

Your name:

Reply:


Posted by Andy Hassall on 10/10/58 11:27

On 23 Sep 2005 21:51:02 -0700, nwheavyw8@gmail.com wrote:

>I can't seem to be able to
>find a way to split the file purely in PHP while it is in the middle of
>uploading using the move_uploaded_file function.

You can't; PHP doesn't start running code until the file upload has finished.

I recall there being a patch to support upload progress displays (through
partial output and buffering and/or Javascript probably) but IIRC these
required a patch to PHP itself to modify how it receives file uploads.

Splitting it server-side is easy enough but doesn't sound it's what you're
after. Splitting it client-side with just (portable) Javascript doesn't sound
possible given how restricted it is (and rightly so) in accessing the user's
machine.
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

[Back to original 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

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