| @@ 802-802 (lines=1) @@ | ||
| 799 | } elseif ($t['scheme']=='https') { |
|
| 800 | $scheme = 'ssl'; |
|
| 801 | $noproxy = 'ssl://'; |
|
| 802 | if (!isset($t['port']) || !($port = $t['port'])) $t['port'] = 443; |
|
| 803 | } |
|
| 804 | else { |
|
| 805 | $scheme = $t['scheme']; |
|
| @@ 811-811 (lines=1) @@ | ||
| 808 | if (isset($t['user'])) |
|
| 809 | $user = array($t['user'], $t['pass']); |
|
| 810 | ||
| 811 | if (!isset($t['port']) || !($port = $t['port'])) $port = 80; |
|
| 812 | if (!isset($t['path']) || !($path = $t['path'])) $path = "/"; |
|
| 813 | if (@$t['query']) $path .= "?" . $t['query']; |
|
| 814 | ||
| @@ 812-812 (lines=1) @@ | ||
| 809 | $user = array($t['user'], $t['pass']); |
|
| 810 | ||
| 811 | if (!isset($t['port']) || !($port = $t['port'])) $port = 80; |
|
| 812 | if (!isset($t['path']) || !($path = $t['path'])) $path = "/"; |
|
| 813 | if (@$t['query']) $path .= "?" . $t['query']; |
|
| 814 | ||
| 815 | $f = lance_requete($method, $scheme, $user, $host, $path, $port, $noproxy, $refuse_gz, $referer, $datas, $vers, $date); |
|