In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > 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??
That error is usually an indication that the particular resource hasn't been included when php was compiled. Use phpinfo() to see what capabilities your installation has. -- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php