Solved

How can I utilize chunking while still using a regular HTML form?

Posted on 2013-05-14
5
179 Views
Last Modified: 2013-11-04
I want to use a regular HTML form but possibly attach a javascript/jquery plugin to the form that will allow me to submit the uploaded media in chunks. How can I do this?
0
Comment
Question by:aristanoble
  • 2
  • 2
5 Comments
 
LVL 15

Assisted Solution

by:Jagadishwor Dulal
Jagadishwor Dulal earned 125 total points
ID: 39164029
0
 
LVL 1

Author Comment

by:aristanoble
ID: 39164775
Thanks but I do have to use the HTML form. When using the HTML form on the iPhone the browse button will allow them to upload an existing photo or take a photo with the camera. The ajax based solutions I've seen will only allow them to choose existing photos and not allow them to use their camera.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39165757
That's because HTML form code for uploading Requires a file.  If it doesn't exist as a file, you can't select it.  That's true on all computer and devices.
0
 
LVL 1

Author Comment

by:aristanoble
ID: 39166999
Thank you Dave, so can you provide any code that would utilize an HTML form but also including the chunking aspect?
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 125 total points
ID: 39167109
No, because it is not under your control or even influence.  The format of the file data is negotiated between the client and server.  It can be binary or base64 encoded as best I can tell.  These links reference the appropriate internet standard.

http://www.vivtek.com/rfc1867.html
http://www.ietf.org/rfc/rfc1867.txt
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question