formasfunction Posted March 3, 2006 Share Posted March 3, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/3978-stopping-an-upload-midway/ Share on other sites More sharing options...
wickning1 Posted March 3, 2006 Share Posted March 3, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/3978-stopping-an-upload-midway/#findComment-13832 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.