Platinum Partner

Add Proxy Context Stream For PHP

// description of your code here



$url = 'http://www';
     
     $proxy = 'tcp://xxx:8080';
     
     $context = array(
     	'http' => array(
     		'proxy' => $proxy,
     		'request_fulluri' => True,
     		),
    	);
    	
    $context = stream_context_create($context);
    
    $body = file_get_contents($url, False, $context);

{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}