Receber Conteúdo de URL no PHP
<?php
// Trazer conteúdo de arquivo ou de página para string
// Define a context for HTTP.
$aContext = array(
‘http’ => array(
‘proxy’ => ‘tcp://10.0.0.1:3128’, // This needs to be the server and the port of the NTLM Authentication Proxy Server.
‘request_fulluri’ => True,
),
);
$cxContext = stream_context_create($aContext);
// Now all file stream functions can use this context. $sFile = file_get_contents(“https://blog.dwsanalista.com.br“, False, $cxContext); echo $sFile;
?>