On Saturday 08 November 2003 03:39, Matt Palermo wrote:
> Does anyone know of a way to perform an MX lookup on a Windows server to
> perform an email verification?  Any help on this would be great, since I
> can only find code for this that will work on *nix servers.  Please let me
> know if you can help.

If you've looked through the usual scripts repositories and haven't found 
anything useful then you can try:

  exec('nslookup xxxxxx');

and parse the results.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Whenever I date a guy, I think, is this the man I want my children
to spend their weekends with?
                -- Rita Rudner
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to