我試圖捲曲http://island-alpaca.selfip.com:10202/SnapShotJPEG?Resolution=640x480Quality=Standard這個位置並每次返回空頁面。我的代碼是捲曲返回null頁
$image = 'http://island-alpaca.selfip.com:10202/SnapShotJPEG?Resolution=640x480&Quality=Standard';
$ch = curl_init();
curl_setopt($ch,CURLOPT_VERBOSE,true);
curl_setopt($ch, CURLOPT_URL, $image);
$store = curl_exec ($ch);
echo $store;
curl_close ($ch);
有人可以告訴我失蹤了嗎?
爲什麼你在URL中有空間? –
Sudhir給了你答案,你沒有returntransfer +沒有改變頁面的標題爲jpg。 –