https://transparencyreport.google.com/transparencyreport/api/v3/safebrowsing/status?site=discord-free.com
file_get_contents ( string $filename [, bool $use_include_path = FALSE [, resource $context [, int $offset = 0 [, int $maxlen ]]]] ) : string
file_get_content($url1);
file_get_content($url2);
file_get_content($url3);
//или то же самое в цикле
<?php
$urls = [
"https://api.best-proxies.ru/proxylist.txt?key=c5842ced830******555e0460b1&country=at&limit=0",
"https://api.best-proxies.ru/proxylist.txt?key=c5842ced830******555e0460b1&country=bo&limit=0",
"https://api.best-proxies.ru/proxylist.txt?key=c5842ced830******555e0460b1&country=at&limit=0",
];
$string = "";
foreach($urls as $url)
{
$string .= "\n".file_get_contents($url);
}
$string_array = explode("\n", $string);
$final_array = array_unique($string_array);
$final_string = implode("\n", $final_array);
echo $final_string;
sed -i -- 's/foo/bar/g' *
find . -type f -exec sed -i 's/foo/bar/g' {} +
<?php
$opts = array(
'socket' => array(
'bindto' => '10.10.1.1:0',
)
);
$context = stream_context_create($opts);
$file = file_get_contents("https://site.com/", false, $context);
<?php
$auth = base64_encode('LOGIN:PASSWORD');
$aContext = array(
'http' => array(
'proxy' => 'tcp://192.168.0.2:3128',
'request_fulluri' => true,
'header' => "Proxy-Authorization: Basic $auth",
),
);
$cxContext = stream_context_create($aContext);
$sFile = file_get_contents("http://www.google.com", False, $cxContext);
echo $sFile;
echo nl2br($String);
$options = array(
'http'=>array(
'method'=>"GET",
'header'=>"Accept-Language: en-US,en;q=0.9,ru;q=0.8\r\n".
"User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.50 Safari/537.36 OPR/65.0.3467.16 (Edition beta)\r\n"
)
);
$context = stream_context_create($options);
$String = file_get_contents($url, false, $context);