span style="color: #0000BB"><?php$url='http://media-convert.com/ru/';$post=array('rec'=>'0', 'mode'=>'0', 'hpopup'=>'0', 'lang'=>'ru', 'Ok'=>'Ok', 'myFile'=>'@/home/.../new/spaces/spaces_ru_4723330.mp3', 'format1'=>'1', 'format2'=>'1', 'pg'=>'envoi', 'email'=>'', 'renameto'=>'1.mp3', 'x_opt_s_mp3_method'=>'cbr', 'x_opt_s_mp3_br'=>'32', 'x_opt_s_volume'=>'3', 'x_opt_audiotag_title'=>'TLENS', 'x_opt_audiotag_artist'=>'TLENS', 'x_opt_audiotag_album'=>'TLENS', 'x_opt_audiotag_year'=>'2010', 'x_opt_audiotag_track'=>'1', 'x_opt_audiotag_comment'=>'TLENS', 'setmultipart'=>'1', 'multipart'=>'5000');$header[]='Content-type: multipart/form-data';$curl = curl_init();curl_setopt($curl, CURLOPT_HTTPHEADER, $header);curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);curl_setopt($curl, CURLOPT_HEADER, 1);curl_setopt($curl,CURLOPT_URL, $url);curl_setopt($curl,CURLOPT_POST, true);curl_setopt($curl,CURLOPT_POSTFIELDS,$post);$get = curl_exec($curl);curl_close($curl);echo $get; |