Lines Matching defs:url
93 * @param string $url The URL to fetch
99 public function get($url,$sloppy304=false){
100 if(!$this->sendRequest($url)) return false;
114 * @param string $url The URL to fetch
121 public function dget($url,$data,$sloppy304=false){
122 if(strpos($url,'?')){
123 $url .= '&';
125 $url .= '?';
127 $url .= $this->postEncode($data);
128 return $this->get($url,$sloppy304);
136 * @param string $url The URL to fetch
141 public function post($url,$data){
142 if(!$this->sendRequest($url,$data,'POST')) return false;
156 * @param string $url - the complete URL
164 public function sendRequest($url,$data='',$method='GET'){
183 $uri = parse_url($url);
192 if($this->useProxyForUrl($url)){
193 $request_url = $url;
372 $this->referer = $url;
887 * @param string $url
890 protected function useProxyForUrl($url) {
891 return $this->proxy_host && (!$this->proxy_except || !preg_match('/' . $this->proxy_except . '/i', $url));