note 54236 deleted from function.snmprealwalk by mazzanet

From: Date: Tue, 28 Jun 2005 06:28:24 +0000
Subject: note 54236 deleted from function.snmprealwalk by mazzanet
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-91058@lists.php.net to get a copy of this message
Note Submitter: GD ---- 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>

« previous php.notes (#91058) next »