Konstantin Sokolov - 2011-07-18 09:15:02
////This functiuon is to retrive the full response message from server
function get_server_responce()
{
while(1)
{
//$response.="\r\n".$this->get_line();
$ln=$this->get_line();
$response.="\r\n".$ln;
//if(substr($response,strpos($response,$this->tag),strlen($this->tag))==$this->tag)
if(substr($ln,strpos($ln,$this->tag),strlen($this->tag))==$this->tag)
break;
}
return $response;
}