Quantcast
Channel: Unable to get Content Encoding using PHP cURL - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by shingo for Unable to get Content Encoding using PHP cURL

Not sure how you found this constant CURLINFO_CONTENT_ENCODING. It doesn't appear in php documents or cURL documents. To get the response header, you need to register a callback function like...

View Article



Image may be NSFW.
Clik here to view.

Unable to get Content Encoding using PHP cURL

I am using cURL with PHP to get content type and content encoding. I am successfully getting content type but content encoding value is empty.function get_content_type_curl($url_content_type) {...

View Article
Browsing latest articles
Browse All 2 View Live


Latest Images