PHP snmp return result -


i use function result snmp
snmp2_walk("localhost", "private", "oid");

all work fine, result returns in form:
string: "..."
string: "second"

is there function convert result normal string?
string: "second" second

i believe you're looking for:

snmp_set_quick_print(1); // print value, no types snmp_set_valueretrieval(snmp_value_plain); // no quotes strings 

http://us1.php.net/manual/en/ref.snmp.php


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -