Jump to content


Stopping an upload midway

  • Please log in to reply
1 reply to this topic

#1 formasfunction

  • Members
  • PipPip
  • Member
  • 10 posts

Posted 03 March 2006 - 04:41 AM

I would like to be able to accept the first 10k of a file and then cut it off there. My hope is that I can grab the beginning of an MP3 file and read the ID3 tag (assuming its prepended) rather than waiting for the entire file to upload and grab the tags. Is there a "cap" or limiter that you can put in? I don't mean the type that refuses to accept a file of a certain size.

#2 wickning1

  • Members
  • PipPipPip
  • Advanced Member
  • 405 posts

Posted 03 March 2006 - 05:49 AM

As far as I know, it's not possible, at least on the PHP end. Apache doesn't call the script until it's gotten the whole message.

There may be an HTML/Javascript solution, but I don't know of one.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users