note 54236 added to function.snmprealwalk

From: Date: Tue, 28 Jun 2005 06:19:26 +0000
Subject: note 54236 added to function.snmprealwalk
Groups: php.notes 
Request: Send a blank email to php-notes+get-91057@lists.php.net to get a copy of this message
Here is the code that show the result as a table with "OID" and "Object value". <table border="1"> <tr> <th scope="col">Object ID</th> <th scope="col">Object Value</th> </tr> <?php $host = $_REQUEST['host']; $community = $_REQUEST['community']; $oid = $_REQUEST['oid']; $result = snmprealwalk($host, $community, $oid); foreach ($result as $key => $value) { echo <<<MYRESULT <tr> <td>{$key}</td> <td>{$value}</td> </tr> MYRESULT; } ?> </table> ---- Manual Page -- http://www.php.net/manual/en/function.snmprealwalk.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+54236 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54236&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54236&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54236&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54236&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54236&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54236&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+54236&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#91057) next »