Lines Matching refs:errstr
548 if ($fp = @fsockopen($parsed_url['host'], $parsed_url['port'], $errno, $errstr, $timeout)) {
569 if ($fp = @fsockopen($parsed_url['host'], $parsed_url['port'], $errno, $errstr, $timeout)) {
649 …public static function URLreadFsock($host, $file, &$errstr, $successonly=true, $port=-1, $timeout=… argument
651 $errstr = 'URLreadFsock says: function fsockopen() unavailable';
656 …if ($fp = @fsockopen((($port == 443) ? 'ssl://' : '').$host, $port, $errno, $errstr, $timeout)) { …
674 list( , $errno, $errstr) = $matches;
688 … $errstr = $errno.' '.$errstr.($header_newlocation ? '; Location: '.$header_newlocation : '');
762 $errstr = '';
770 …sock($parsed_url['host'], $parsed_url['path'].'?'.$parsed_url['query'], $errstr, true, $parsed_url…
771 if ($followredirects && preg_match('#302 [a-z ]+; Location\\: (http.*)#i', $errstr, $matches)) {
788 $error .= 'Error opening "'.$url.'":'."\n\n".$errstr;
792 $error .= 'Error opening "'.$url.'":'."\n\n".$errstr;