RE: [PEAR] getmxrr() simulation with Net_DNS

From: Date: Fri, 01 Aug 2003 15:22:56 +0000
Subject: RE: [PEAR] getmxrr() simulation with Net_DNS
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6943@lists.php.net to get a copy of this message
require_once("Net/DNS.php"); $dns = new Net_DNS_Resolver(); $result = $dns->search("example.com", "MX"); Joe Lee. > -----Original Message----- > From: Mike Carter [mailto:mikeatwork@ukonline.co.uk] > Sent: Friday, August 01, 2003 4:09 PM > To: pear-general@lists.php.net > Subject: [PEAR] getmxrr() simulation with Net_DNS > > > Hi, > > I want to use the getmxrr() PHP function to check if a mail > host exists. However i want to make sure my code runs on the > windows based development servers, and then on the final > Linux based production server. > > According to the PHP manual http://uk.php.net/getmxrr I > should use the PEAR Net/DNS package for Windows compatibility. > > However the package has no documentation and i didn't see a > method with the same name. How do I use the DNS class for my > required purpose? > > Regards, > > > MIke C. > > -- > http://www.buddasworld.co.uk > > ---------------------------------------------- > This mail sent through http://www.ukonline.net > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.pear.general (#6943) next »