<?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://www.baidu.com/s?ie=utf-8&wd=lkj"); curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $output = curl_exec($ch); echo $output; curl_close($ch); ?>
求大神幫忙看看哪裡有問題