Re: Sending a File Over HTTP
- Posted by jimcbrown (admin) Aug 19, 2013
- 1603 views
euphoric said...
Do I have to send CONTENT_LENGTH? I thought http_post() would package that up for me (or the OS would know it), but can't find confirmation.
http_post() does it for you. Take a look at the function itself, but search for Content-Length rather than CONTENT_LENGTH.