curl 投稿リクエストでコンテンツの代わりにファイルのリンクを送信することは可能ですか?
$file_to_upload = array('file_contents'=>'@'.$file_name_with_full_path);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$target_url);
curl_setopt($ch, CURLOPT_POST,1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $file_to_upload);
$result=curl_exec ($ch);
curl_close ($ch);
echo $result;
$file_name_with_full_path の代わりにリンクを貼ることはできますか?