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/

此条目发表在TechNote分类目录。将固定链接加入收藏夹。

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注