protected get_remote_contents ( string &$url, integer $timeout = 30, integer $redirect_max = 5, string $ua = 'Mozilla/5.0', resource $fp = null ) : string | ||
$url | string | target url |
$timeout | integer | timeout (sec) |
$redirect_max | integer | redirect max count |
$ua | string | |
$fp | resource | |
Résultat | string | or bool(false) |