note 95634 added to function.snmpset

From: Date: Wed, 13 Jan 2010 14:22:00 +0000
Subject: note 95634 added to function.snmpset
Groups: php.notes 
Request: Send a blank email to php-notes+get-164910@lists.php.net to get a copy of this message
Note that there are two ways to set a variable of the type BITS like e.g.: SYNTAX BITS {telnet(0), ftp(1), http(2), icmp(3), snmp(4), ssh(5), https(6)} 1. Using type "b" and a list of bit numbers like: snmpset('FOO-MIB::bar.42', 'b', '0 1 2 3 4'); with the disadvantage that the success is not easily verifyable as an snmpget() for the same OID would return e.g. 0xF8. 2. Using type "x" and a hex number but without(!) the usual "0x" prefix: snmpset('FOO-MIB::bar.42', 'x', 'F0'); ---- Server IP: 92.48.119.85 Probable Submitter: 78.35.25.18 ---- Manual Page -- http://www.php.net/manual/en/function.snmpset.php Edit -- https://master.php.net/note/edit/95634 Del: integrated -- https://master.php.net/note/delete/95634/integrated Del: useless -- https://master.php.net/note/delete/95634/useless Del: bad code -- https://master.php.net/note/delete/95634/bad+code Del: spam -- https://master.php.net/note/delete/95634/spam Del: non-english -- https://master.php.net/note/delete/95634/non-english Del: in docs -- https://master.php.net/note/delete/95634/in+docs Del: other reasons-- https://master.php.net/note/delete/95634 Reject -- https://master.php.net/note/reject/95634 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#164910) next »