Example #1
0
 function backup($user = '******', $type = 'PRESENT')
 {
     $m = "{$type}|{$this->house_name}|{$this->street}|{$this->area}|";
     $m .= "{$this->city}|{$this->state}|{$this->country}|";
     $m .= "{$this->postal_code}|{$this->telephone_no}|";
     $m .= "{$this->visibility}";
     XMEC::log('ADDRESS_BACKUP', $user, $m);
     str_replace("\\'", "'", $m);
     str_replace("'", "\\'", $m);
     system("echo '{$this->id}|" . $m . "' >>l.og");
 }