note 41839 rejected from function.snmpwalk by betz

From: Date: Fri, 23 Apr 2004 12:51:43 +0000
Subject: note 41839 rejected from function.snmpwalk by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-68661@lists.php.net to get a copy of this message
Note Submitter: tahir@itcc.no ---- hi, afte upgrade i have the same problem as u. <?php snmp_set_quick_print(1); //prevent "STRING: " output $host = "sk-r3.nett"; $community = "radio3+public"; $ifDesc = snmpwalk($host, $community, "IF-MIB::ifDesc"); for ($i = 0; $i < count($ifDesc); ++$i) { print "$ifDesc[$i]\n"; } ?> but me out put is: interfaces.ifTable.ifEntry.ifDescr.1 FastEthernet0/0 And i can not get rid of this interfaces.ifTable.ifEntry.ifDescr.1 any help

« previous php.notes (#68661) next »