2

Possible Duplicate:
Upload Progress Bar in PHP

forgive me if this is a stupid question but im only 15 and I just cant seem to find the answer on the internet.

how can i query the a server for status information of a file upload using php/js? I would use jquery for callbacks if necessary. I am trying to get the upload progress to build a little display bar.

2
  • 2
    Please see Session Upload Progress which is what PHP offers to obtain progress for a file-upload. Commented Oct 22, 2011 at 16:50
  • If you're 15 and posting on SO, keep going and stick with the programming as much as you can Commented Oct 22, 2011 at 18:08

1 Answer 1

0

You could save the progress on the server, and have another script return it.

I think thats the only option since uploading a file is a header request, and the page wouldn't be able to send back headers until the file was finished uploading.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.