Home
Find the answer to your question
PHP 5 sample of UploadSiteHostedPictures.
Detailed Description
This sample shows how to use the new UploadSiteHostedPictures
functionality. The sample requires the use of the PHP CURL and SimpleXML extensions.
Note that the sample reads in and uploads an image file in binary form. No base64 encoding is done.
There is a multi-part HTTP 1.0 POST. The first part contains the XML request, and the second part
contains the binary image data.
Additional resources
UploadSiteHostedPictures documentation