tailieunhanh - PHP Developer's Dictionary- P49

PHP Developer's Dictionary- P49:PHP is an open source, server-side, HTML-embedded scripting language used to create dynamically generated Web pages. With an easy-to-use syntax and a large, extensible library of modules, PHP brings together the best of Perl, C++, and other languages. | PHP Developer s Dictionary ldap_unbind Syntax int ldap_unbind int ldap pointer Description The idap_unbind function unbinds the LDAP directory pointed to by idap_pointer . If successful 1 will be returned otherwise false on error. SNMP The Simple Network Management Protocol SNMP is a protocol for building network management framework. On UNIX you must also install the UCD SNMP package for this work. You can obtain this from http . On Windows NT 2000 these functions do not require any additional components to be installed but do note that they do not work on the Windows 95 98 Me platforms. You can read more about SNMP in the Request For Comments RFC 2571 which you can find at http rfc . snmp_get_quick_print Syntax boolean snmp_get_quick_print Description The snmp_get_quick_print function which was added in PHP grabs the value of the UCD library s quick_print setting and returns true if on or false if off. Note This function is present only when using the UCD library which is a UNIX-only function. snmp_set_quick_print IT-SC book 240 PHP Developer s Dictionary Syntax snmp_set_quick_print int quick print Description The snmp_set_quick_print function which was added in PHP sets the value of the UCD library s quick_print setting. If 1 which stands for true is passed as quick_print this setting will be turned on. 0 is used to turn it off. Note This function is present only when using the UCD library which is a UNIX-only function. snmpget Syntax string snmpget string hostname string community string object id int timeout int retries Description The snmpget function reads the object at object_id on hostname in the read community . It will return the object value if successful or false on an error. The optional timeout parameter enables you to provide a timeout in seconds and if used you can also provide the number of retries that you want to try. snmpset Syntax bool snmpset string hostname string community string .