分类
TechNote

Print Curl Verbose Info on the web browser in php

curl_setopt($hCurl, CURLOPT_STDERR, fopen(‘php://output’, ‘w+’));
curl_setopt($hCurl, CURLOPT_VERBOSE, 1);

Ref: http://projectivemotion.com/2012/07/30/print-curl-verbose-info-web-browser-php/