http - Returning 100-Continue from PHP/Apache -
i'm trying find way prevent script uploading unnecessary data php script. had tried kill incoming read connection against http protocol , couldn't make work have been researching alternatives , found 100-continue status code need. client should send required headers , expect: 100 header , server should send either 100 continue or 417 expectation failed seems attempts make work 100 response sent apache before php has chance processing. there way have php examine request headers , send 100 continue response , continue process incoming data? i'm read raw data php://input.
thanks, j
you cannot in pure php code (which isn't executed until upload complete), can create php extension. maybe take @ uploadprogress extension hooks upload process.
Comments
Post a Comment