Iam trying to use my php file in a Linux machine.
#!/usr/local/bin/snmp_guard.php -q
<?
$bat = snmpget("192.168.10.8", "pub_likt", ".1.3.6.1.4.1.2606.1.2.12.0");
$sum = snmpget("192.168.10.8", "pub_likt", ".1.3.6.1.4.1.2606.1.2.13.0");
$drift = snmpget("192.168.10.8", "pub_likt", ".1.3.6.1.4.1.2606.1.2.10.0");
$verk = snmpget("192.168.10.8", "pub_likt", ".1.3.6.1.4.1.2606.1.2.11.0");
echo $bat;
?>
Then I start it with php snmp_guard.php
All I get is
Call to undefeind funcion snmpget()
WHY??
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php