-2
我想使用cURL上傳文件,但無法弄清楚如何使用$ url數組。 例如:
$urls = array("http://images.domain.com/",
"http://flash.domain.com/",
"http://other.domain.com/"
);
foreach ($urls as $url) {
我想這一點,但沒有成功:
$upload = "$url ."upload/upload.php";
有什麼建議? :) 感謝
'$上傳= 「{$ url}的上傳/ upload.php的」;' – undone
或$上傳= $網址「上傳/ upload.php的」; – MrP
刪除第一個報價:'$ upload = $ url。「upload/upload.php」;' –