Description:
function eZSOAPClient( $server, $path = '/', $port = 80 )
{
$this->Login = "";
$this->Password = "";
$this->Server = $server;
$this->Path = $path;
$this->Port = $port;
if ( is_numeric( $port ) )
$this->Port = $port;
elseif( strtolower( $port ) == 'ssl' )
$this->Port = 443;
else
$this->Port = 80;
}
As you may notice, this code is not so well. Better to add a separate parameter to specify the scheme (http or https).
http://en.wikipedia.org/wiki/Https says: "An https: URL may specify a TCP port; if it does not, the connection uses port 443"
Environment:
Operating System:
PHP Version: (please be specific, like '4.4.3' or '5.1.5')
Database and version:
Browser (and version):
|
|