Re: Net_DNS

From: Date: Wed, 20 Apr 2005 03:31:07 +0000
Subject: Re: Net_DNS
References: 1  Groups: php.pear.dev php.pear.general 
Request: Send a blank email to pear-dev+get-37292@lists.php.net to get a copy of this message
pear-general is really the place to ask, but you may be better having a look at the code to see what it is doing internally. Regards Alan On Tue, 2005-04-19 at 14:47 +0200, Erich Geller wrote: > Hi > > I am battling to get the code below to work: > > I am running Windows Xp, Apache 2, PHP 5, and Net_DNS 1.0.0b3. > > <?php > require_once 'Net/DNS.php'; > > // create object > $ndr = new Net_DNS_Resolver(); > > // uncomment this for debug output > // $ndr->debug = 1; > > // query for IP address > $answer = $ndr->search("cnet.com", "A"); > > // print output > print_r($answer); > ?> > > I just get a 0 as the output. > > Can anyone help? > > Regards > E

« previous php.pear.dev (#37292) next »