Location: PHPKode > projects > EXtensible Production Suite (XPS) > xpsdev/helpers/xpm3/DOCUMENTATION/func/getmxrr_win.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>XPM3_FUNC::getmxrr_win()</title>
<style>
body, pre {
	font-family: Verdana;
	font-size: 10pt;
}
</style>
</head>
<body bgcolor="#f1f3f5" topmargin="10" leftmargin="14">

<pre>
XPM3_FUNC :: <i>mixed</i> <b>getmxrr_win</b> ( <i>string</i> hostname, <i>array</i> &mxhosts )
<hr>
Returns TRUE if any records are found, FALSE if not.

This function "getmxrr_win()" is the Windows NT version for function "getmxrr()" from PHP.

Example:
<table border="0" bgcolor="white">
<tr><td>
<pre><code>
// get 'php.net' MX record(s)
$mx = XPM3_FUNC::is_win() ? XPM3_FUNC::getmxrr_win('php.net', $rr) : getmxrr('php.net', $rr);

// print result
if ($mx) print_r($rr);
else echo 'MX record(s) not found.';
</code></pre>
</td></tr>
</table>

<hr color="white">

[ <a style="color: blue; text-decoration: none" href="mailto:hide@address.com?subject=Comment XPM3_FUNC getmxrr_win">Comments</a> ]

Last update:Wednesday, December 27, 2006

</pre>

</body>
</html>
Return current item: EXtensible Production Suite (XPS)