How do I get a picture of curl to post to an address in a binary way

Source: Internet
Author: User
How to get a picture of curl to post to an address in a binary way
RT, such as $data for Curl_exec () to get to the picture, at this time I want to put the picture in binary mode post to an address, what should I do?
------to solve the idea----------------------
The source and format of the data is not required when the post transmits data, because that is the subject matter of the receiving party
Of course, you need to do some processing of the data according to each other's requirements.

So, what kind of data does that address ask you to send?
------to solve the idea----------------------
Reference: http://blog.csdn.net/fdipzone/article/details/40098169
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.