<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://www.zerobin.org/");
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
?>
PHP Module – Curl的运用
<?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://www.zerobin.org/"); curl_setopt($ch, CURLOPT_HEADER, 0); curl_exec($ch); curl_close($ch); ?>