Windows 2K server with Apache. Added the SNMP module (now i don't get bad
function calls!).
Seems when I try to use the functions it trys to get to the router, but
doesn't return information.
Getting "no response" :
Warning: snmprealwalk(): No response from escr1e in C:\WebDoc\snmpinfo.php
on line 13
NULL
Warning: snmpget(): No response from escr1e in C:\WebDoc\snmpinfo.php on
line 15
code:
<html>
<head>
<title>
Information from PHP SMNP
</title>
</head>
<body>
<?php
$host = "eeeeee";
$community = "public";
print("<center><p>PHP information from SNMP follows:<br>\n");
$myarray == snmprealwalk($host,$community,".3.6.1.2.1.2.2.1.2");
var_dump($myarray);
print(snmpget($host,$community,".3.6.1.2.1.1.4"));
?>
</p></center></body></html>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php