Re: MX lookup email verification on Windows
| From: | Matt Palermo | Date: | Fri, 07 Nov 2003 20:14:43 +0000 |
| Subject: | Re: MX lookup email verification on Windows | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168908@lists.php.net to get a copy of this message | ||
Is there any way to accomplish this without the use of exec() or system()
functions?
"Jason Wong" <php-general@gremlins.biz> wrote in message
news:200311080410.30135.php-general@gremlins.biz...
> 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
> */