Wyskakuje mi taki błąd:
Kod: Zaznacz cały
Fatal error: Non-static method PHProxy::decode_url() cannot be called statically in D:\Program Files\WebServ\httpd\proxy\PHProxy.class.php on line 276
a tutaj fragment kodu:
Kod: Zaznacz cały
270 $this->basic_auth_header = base64_encode(sprintf('%s:%s', $username, $password));
271 setcookie(urlencode("AUTH;{$this->url_segments['host']}"), $this->basic_auth_header, 0, '', $this->http_host);
272 }
273
274 function set_url($url)
275 {
276 $this->url = decode_url($url);
277
278 if (strpos($this->url, '://') === false)
279 {
280 $this->url = 'http://' . $this->url;
