Re: [PHP4BETA] snmp

From: Date: Mon, 24 Apr 2000 21:18:53 +0000
Subject: Re: [PHP4BETA] snmp
References: 1 2 3  Groups: php.version4 
Request: Send a blank email to php-version4+get-14014@lists.php.net to get a copy of this message
Lucas wrote: > > > Send us your script. > > the page ??? > > page.php3 >==================== > <html> > > <body> > 1 > <? > > $a = snmprealwalk("10.67.241.74", "public", ""); > > for ($i=0; $i<count($a); $i++) { > echo $a[$i]; > } > ?> > 2 > </body> > </html> > page.php3 >==================== > > the result : >==================== > > Fatal error: Call to undefined function: snmprealwalk() in > /home/lucas/public_html/snmp/kk.php3 > on line 7 > > the result : >==================== > Hidden in plain sight. In your configure line you forgot to compile --with-snmp, you only enabled the ucd-snmp-hack, re-install --with-snmp. Sterling

« previous php.version4 (#14014) next »