php - What is "Request Headers From Upload Stream" -


from firebug: http://i.imgur.com/oymrix2.jpg

if want emulate request using php-curl , have worry request headers upload stream? ?

when upload file, during http request, there standard http request headers see, like:

-------------------------------18788734234 content-disposition: form-data; name="nonfile_field"  {input field here} -------------------------------18788734234 content-disposition: form-data; name="myfile"; filename="somefile.gif" content-type: image/gif  {uploaded file here} -------------------------------18788734234-- 

firebug pulling out these request headers come file uploads , giving more information it. if standard file upload php-curl, curl needs ensure upload happens successfully.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -