Gary Mardell
Gary Mardell

Reputation: 1

XML upload while parsing

Is it possible to have an upload box on a website where as the XML file is being uploaded it can be parsed at the same time. So for example the values could start to populate say a div rather than waiting for the complete file to be uploaded and then parse.

Upvotes: 0

Views: 159

Answers (2)

Sarfraz
Sarfraz

Reputation: 382746

I think you should have a look at the Magic Parser and as far as i can remember, it does have that option.

Upvotes: 0

Ben Everard
Ben Everard

Reputation: 13804

No, the file needs to be completely uploaded before you can use the move_uploaded_file function to move it to a temp directory for processing.

Upvotes: 1

Related Questions