- file_get_contents: documentation ( source)
- stream_context_create: documentation ( source)
<?php
//Use simple html dom
include('simple_html_dom.php');
$temp = 'https://hockey.fantasysports.yahoo.com/hockey/63480/players?status=ALL&pos=C&cut_type=33&stat1=S_S_2014&myteam=0&sort=OR&sdir=1&count=0';
$context = stream_context_create(array('http' => array('header' => 'User-Agent: Mozilla compatible')));
$response = file_get_contents($temp, false, $context);
$html = str_get_html($response);
echo $html;