Lines Matching defs:url
84 * @param string $url The URL to fetch
90 public function get($url, $sloppy304 = false)
92 if (!$this->sendRequest($url)) return false;
106 * @param string $url The URL to fetch
113 public function dget($url, $data, $sloppy304 = false)
115 if (strpos($url, '?')) {
116 $url .= '&';
118 $url .= '?';
120 $url .= $this->postEncode($data);
121 return $this->get($url, $sloppy304);
129 * @param string $url The URL to fetch
134 public function post($url, $data)
136 if (!$this->sendRequest($url, $data, 'POST')) return false;
150 * @param string $url - the complete URL
158 public function sendRequest($url, $data = '', $method = 'GET')
180 $uri = parse_url($url);
189 if ($this->useProxyForUrl($url)) {
190 $request_url = $url;
366 $this->referer = $url;
899 * @param string $url
902 protected function useProxyForUrl($url)
904 return $this->proxy_host && (!$this->proxy_except || !preg_match('/' . $this->proxy_except . '/i', $url));