@@ 1268-1272 (lines=5) @@ | ||
1265 | $credentials = 'Authorization: Basic '.base64_encode('$this->user:$this->pass').'\r\n'; |
|
1266 | } |
|
1267 | ||
1268 | if($this->proxyhost && $this->proxyport){ |
|
1269 | $this-> outgoing_payload = "POST $this->url HTTP/1.0\r\n"; |
|
1270 | } else { |
|
1271 | $this->outgoing_payload = "POST $this->path HTTP/1.0\r\n"; |
|
1272 | } |
|
1273 | ||
1274 | $this->outgoing_payload .= |
|
1275 | "User-Agent: $this->title v$this->version\r\n". |
|
@@ 1366-1370 (lines=5) @@ | ||
1363 | $credentials = 'Authorization: Basic '.base64_encode('$this->user:$this->pass').'\r\n'; |
|
1364 | } |
|
1365 | ||
1366 | if($this->proxyhost && $this->proxyport){ |
|
1367 | $this-> outgoing_payload = "POST $this->url HTTP/1.0\r\n"; |
|
1368 | } else { |
|
1369 | $this->outgoing_payload = "POST $this->path HTTP/1.0\r\n"; |
|
1370 | } |
|
1371 | ||
1372 | $this->outgoing_payload .= |
|
1373 | "User-Agent: $this->title v$this->version\r\n". |