bsmurfy Posted December 6, 2011 Share Posted December 6, 2011 Can anyone help me with setting the content-type with CURL/PHP for file uploads? I've tried all of the common methods, and nothing seems to be working. For example curl_setopt($session, CURLOPT_HTTPHEADER,array ( "Content-Type: image/gif", )); Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/252542-phpcurl/ Share on other sites More sharing options...
scootstah Posted December 6, 2011 Share Posted December 6, 2011 Can you show more code or explain what you're trying to do? Quote Link to comment https://forums.phpfreaks.com/topic/252542-phpcurl/#findComment-1294806 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.