Studio64
05-22-2002, 08:43 PM
Anyone know the max size limit of the HTTP header?..
i.e. how much data can be put into the header from a form on a website to be parsed by php and stored in a MYSQL DB..
Is there a work around for it to transfer?..
Travis
05-23-2002, 05:43 AM
Data from a form post isn't sent in the response header - it's sent as MIME-encoded body data. The only thing that goes in the header is Content-Length and a few things like that.
cperciva
05-23-2002, 06:52 AM
If the form is POSTed, then Travis is correct, there is no (practical) limit. If the form is GETed, then the form data is sent as part of the query line; there is no theoretical limit to this, but most HTTP servers will refuse a request if the query line is more than a couple KB. I think up to 512 bytes is always safe, though.
Basically, if you have to ask, you should probably stick to POSTing your data.