PHP ã® cURL å®éã«ãªã¯ã¨ã¹ãããããããã確èªããæ¹æ³ 2009-02-16-1: [PHP] PHP 㧠cURL æ¡å¼µã¢ã¸ã¥ã¼ã«ãå©ç¨ãã¦ããã¨ãã«ããããã¯ç¨ã«å®éã«ãªã¯ã¨ã¹ããã¦ãããããã®å 容ãè¦ããã¨ããããã¾ãã ãã®å ´åã¯ã以ä¸ã®ããã« CURLOPT_VERBOSE 㨠CURLOPT_STDERR ã使ã£ã¦ããã¡ã¤ã«ã«åºåãããã¨ãåºæ¥ã¾ãã // ä¿åãããã¡ã¤ã« $fp = fopen('/tmp/curl.log', 'a'); // 詳細ãªæ å ±ãåºåãã curl_setopt($ch, CURLOPT_VERBOSE, true); // STDERR ã®ä»£ããã«ã¨ã©ã¼ãåºåãããã¡ã¤ã«ãã¤ã³ã¿ curl_setopt($ch, CURLOPT_STDERR, $fp); ä¾ã¨ãã¦ãGoogle ã¸ã®ã¢ã¯ã»ã¹ãè¦ã¦ã¿ã¾ãã $ch = curl_in
{{#tags}}- {{label}}
{{/tags}}