note 41839 added to function.snmpwalk

From: Date: Fri, 23 Apr 2004 12:17:15 +0000
Subject: note 41839 added to function.snmpwalk
Groups: php.notes 
Request: Send a blank email to php-notes+get-68659@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/function.snmpwalk.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+41839 Delete -- http://master.php.net/manage/user-notes.php?action=delete+41839&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+41839&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#68659) next »