
Kai Becker - 2010-06-30 12:12:46
I had to connect to an unusual port number, so I inserted the following line after "$urlParsed = parse_url($this->target);" in execute():
if(empty($this->port) && !empty($urlParsed['port']))
$this->port = $urlParsed['port'];
This supports URL of the form <protocol>://<server>:<portno>/...
I also suggest to add a method setPort($portno) to the class.