PHP_api接口教程(16)
发布时间:2021-06-06
发布时间:2021-06-06
{
if($this->_framedepth < $this->maxframes) {
$this->fetch($frameurl); $this->_framedepth++; } else
break;
} } } else {
return false; }
return true; break; case "https":
if(!$this->curl_path)
return false;
if(function_exists("is_executable"))
if (!is_executable($this->curl_path))
return false;
$this->host = $URI_PARTS["host"]; if(!empty($URI_PARTS["port"]))
$this->port = $URI_PARTS["port"]; if($this->_isproxy) {
// using proxy, send entire URI
$this->_httpsrequest($URI,$URI,$this->_httpmethod); }
else
{ $path
=
$URI_PARTS["path"].($URI_PARTS["query"]"?".$URI_PARTS["query"] : "");
// no proxy, send only the path
$this->_httpsrequest($path, $URI, $this->_httpmethod); }
?