ACE INTO %t (`skey`,`svalue`) VALUES (%s,%s)', array('common_setting', 'mail', serialize($mail))); $_G['setting']['mail'] = $mail; if(!function_exists('updatecache') && function_exists('libfile')) { require_once libfile('function/cache'); } if(function_exists('updatecache')) { updatecache('setting'); } } function pinmailguard_dns_report($domain) { $domain = strtolower(trim($domain)); $report = array('domain' => $domain, 'spf' => array(), 'dmarc' => array(), 'mx' => array(), 'mail' => array(), 'smtp' => array()); if(!$domain) return $report; foreach((array)dns_get_record($domain, DNS_TXT) as $r) { $txt = !empty($r['txt']) ? $r['txt'] : ''; if(stripos($txt, 'v=spf1') === 0) $report['spf'][] = $txt; } foreach((array)dns_get_record('_dmarc.'.$domain, DNS_TXT) as $r) { $txt = !empty($r['txt']) ? $r['txt'] : ''; if(stripos($txt, 'v=dmarc1') === 0) $report['dmarc'][] = $txt; } foreach((array)dns_get_record($domain, DNS_MX) as $r) { $report['mx'][] = (!empty($r['pri']) ? $r['pri'].' ' : '').(!empty($r['target']) ? $r['target'] : ''); } foreach(array('mail', 'smtp') as $sub) { foreach((array)dns_get_record($sub.'.'.$domain, DNS_A + DNS_CNAME) as $r) { $report[$sub][] = !empty($r['ip']) ? $r['ip'] : (!empty($r['target']) ? $r['target'] : ''); } } return $report; } ?>
|
2434| 87
|
Annies Attic: Knit - Side to Side Garments |
|
PinDIY
|
Rate
When someone visits this page from a link you share, you will be rewarded Related collections:
| |||||||
| ||
| ||
| ||
| ||
|
|
| ||
| ||
Mobile|Email|FAQ|Dark room|PinDIY.com
2026-6-30 16:17 GMT+8
Powered by ![]()
© 2026