disable print_r in mailtoticket.php (only for debug purpose); use general validate functions in lib.php instead validate directly in dnsbaselib.php and weblib.php; trim inputs in add/update functions (declare in lxclass.php)