Andy's Blog » CURLOPT_HTTPHEADER, curl CURLOPT_HTTPHEADER, php curl CURLOPT_HTTPHEADER, php CURLOPT_HTTPHEADER, curl CURLOPT_HEADER, CURLOPT_HEADER, curlopt httpheader, attack3t1 » curl之CURLOPT_HTTPHEADER

curl之CURLOPT_HTTPHEADER

curl之CURLOPT_HTTPHEADER

单个

<?php
curl_setopt($ch, CURLOPT_HTTPHEADER, array("Range: Bytes=0-50\n"));
?>

多个

<?php
curl_setopt($ch, CURLOPT_HTTPHEADER, array("Range: Bytes=0-50\nOtherheader: stuff\n"));
?>

Incoming search terms:

Tags: curl, CURLOPT_HTTPHEADER

本文地址: http://www.21andy.com/new/20080304/1047.html