RE: [PHP] SNMP - LOG

2002-07-15 Thread Mattias Eriksson
Here is a example using snmprealwalk() to make a simple dump to a textfile. The script filters out some things that atleast I don't need. To get more verbose output comment out $walk = snmp_nice_array($walk); and/or change snmp_set_quick_print(1); to snmp_set_quick_print(0);. Example with most

RE: [PHP] mysql_real_escape_string() ?

2002-06-18 Thread Mattias Eriksson
Does mysql_real_escape_string exist? I've seen it in the manual pages, and to my understanding, it is the proper function to call on strings to escape them before inserting them into a database... mysql_real_escape_string() is only available in CVS version. _ Mattias Eriksson