Date: 11/26/99
- Next message: mlemos <email protected>: "[PHP-DEV] Bug #2842: Can't build PHP withe Oracle"
- Previous message: Mark Musone: "[PHP-DEV] Mcal problems- p.s."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: alex <email protected>
Operating system: Linux 2.0.35
PHP version: 3.0.12
PHP Bug Type: Misbehaving function
Bug description: snmpset () returns an empty array
snmpset () always returns an empty array, while the snmpset-shell command returns the modified data
(sometimes needed to retrieve newly created indexes).
Create a new license entry on a Bintec router (shell command):
snmpset host community .1.3.6.1.4.1.272.254.4.1.1 i 12345
enterprises.272.254.4.1.1.12345.9 = 12345
Same procedure in PHP:
<?
$ret = snmpset ("host", "community", ".1.3.6.1.4.1.272.254.4.1.1", "i", "12345");
echo count ($ret), "<br>";
?>
returns:
0 (=no entries in the array)
Used SNMP-version: ucd-snmp-4_0_1
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: mlemos <email protected>: "[PHP-DEV] Bug #2842: Can't build PHP withe Oracle"
- Previous message: Mark Musone: "[PHP-DEV] Mcal problems- p.s."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

