| @@ 636-636 (lines=1) @@ | ||
| 633 | } elseif ($t['scheme']=='https') { |
|
| 634 | $scheme = 'ssl'; |
|
| 635 | $noproxy = 'ssl://'; |
|
| 636 | if (!isset($t['port']) || !($port = $t['port'])) $t['port'] = 443; |
|
| 637 | } |
|
| 638 | else { |
|
| 639 | $scheme = $t['scheme']; |
|
| @@ 645-645 (lines=1) @@ | ||
| 642 | if (isset($t['user'])) |
|
| 643 | $user = array($t['user'], $t['pass']); |
|
| 644 | ||
| 645 | if (!isset($t['port']) || !($port = $t['port'])) $port = 80; |
|
| 646 | if (!isset($t['path']) || !($path = $t['path'])) $path = "/"; |
|
| 647 | if (@$t['query']) $path .= "?" . $t['query']; |
|
| 648 | ||
| @@ 646-646 (lines=1) @@ | ||
| 643 | $user = array($t['user'], $t['pass']); |
|
| 644 | ||
| 645 | if (!isset($t['port']) || !($port = $t['port'])) $port = 80; |
|
| 646 | if (!isset($t['path']) || !($path = $t['path'])) $path = "/"; |
|
| 647 | if (@$t['query']) $path .= "?" . $t['query']; |
|
| 648 | ||
| 649 | $f = lance_requete($method, $scheme, $user, $host, $path, $port, $noproxy, $refuse_gz, $referer, $datas, $vers, $date); |
|