1

如果我这样做 - 它有效:

curl_setopt($ch, CURLOPT_URL, "http://www.facebook.com/pages/Muzikos-R%C5%ABsys/192813414094112?sk=events");

但如果我试试这个

$url = "http://www.facebook.com/pages/Muzikos-R%C5%ABsys/192813414094112?sk=events";
curl_setopt($ch, CURLOPT_URL, $url);

它给我一个空白页;

有任何想法吗?暂时找不到答案...

4

1 回答 1

0

试试这个代码:

$url = "http://www.facebook.com/pages/Muzikos-R%C5%ABsys/192813414094112?sk=events";
$ch  = curl_init($url);
$res = curl_exec($ch);
于 2013-01-16T07:50:05.517 回答