Jump to content

Archived

This topic is now archived and is closed to further replies.

formasfunction

Stopping an upload midway

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.