Current File : //etc/zpanel/panel/modules/authentication/code/run.php
<?php
//	static function ListAllClients($uid)
  //  {
    //    global $zdbh;
//		global $controller;
		
			$myfile = fopen("/etc/opendkim/keys/oody.in/default.txt", "r") or die("Unable to open file!");
			$line = fread($myfile,filesize("/etc/opendkim/keys/oody.in/default.txt"));
			fclose($myfile);
			$data=explode('"',$line);
			$join =$data[1].$data[3];
			$target=str_replace(" ","",$join);

//			$sql = $zdbh->prepare("INSERT INTO x_accounts (dn_acc_fk, dn_name_vc, dn_vhost_fk, dn_type_vc, dn_host_vc, dn_ttl_in, dn_target_vc, 
//								   dn_priority_in, dn_weight_in, dn_port_in, dn_created_ts) VALUES (:uid, :domain, :domaintype, :txt, :host, 
//								   :ttl, :target, 0, 0, 0, :time)");
//			$sql->bindParam(':uid', $uid);
//			$time = time();
//			$sql->bindParam(':time', $time);
//			$sql->bindParam(':domain', $domain);
//			$sql->bindParam(':domaintype', $domaintype);
//			$sql->bindParam(':txt', 'TXT');
//			$sql->bindParam(':host', 'default._domainkey');
//			$sql->bindParam(':ttl', '3600');
//			$sql->bindParam(':target', $target);
//			$sql->execute();
		
echo $target;		
//	}