<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://www.drise.cn');
curl_setopt($ch, CURLOPT_HEADER, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_NOBODY, true);
$order = curl_exec($ch);
echo '';
echo strip_tags($order);
echo '';
curl_close($ch);?>
有的服務器是看不到了,原因要根據服務器的配置而定了,在這裡我就不多說了.