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! 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? Link to comment https://forums.phpfreaks.com/topic/252542-phpcurl/#findComment-1294806 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.