“file_get_contents z adresem URL” Kod odpowiedzi

przesyłać plik za pomocą pliku_get_content

file_get_contents('http://url/to/upload/handler', false, $context);
Nutty Newt

file_get_contents z adresem URL

<?php

$curl_handle=curl_init();
curl_setopt($curl_handle, CURLOPT_URL,'http://###.##.##.##/mp/get?mpsrc=http://mybucket.s3.amazonaws.com/11111.mpg&mpaction=convert format=flv');
curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2);
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl_handle, CURLOPT_USERAGENT, 'Your application name');
$query = curl_exec($curl_handle);
curl_close($curl_handle);

?>
Wandering Wolverine

Odpowiedzi podobne do “file_get_contents z adresem URL”

Pytania podobne do “file_get_contents z adresem URL”

Więcej pokrewnych odpowiedzi na “file_get_contents z adresem URL” w PHP

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu