// Call parent constructor
parent::__construct();
- // Clean up a little
- $this->removeSystemArray();
- $this->removeNumberFormaters();
-
// Set data (DEPRECATED!)
$this->username = $PPUsername;
$this->password = $PPPassword;
}
/**
- * Anfrage senden und Rückgabecode in Variable speichern
+ * Anfrage senden und Rueckgabecode in Variable speichern
*/
function queryApi ( $data = array() ) {
$fp = fsockopen($this->host, 80, $this->errno, $this->_err);
$data["PrimusInterface_Username"] = base64_encode($this->username);
$data["PrimusInterface_Password"] = base64_encode(md5($this->password));
- // POST-Daten übermitteln:
+ // POST-Daten uebermitteln:
$data = http_build_query($data, '', '&');
fputs($fp, "POST {$this->path}HTTP/1.1\r\n");