PHP Developer's Dictionary- P51

PHP Developer's Dictionary- P51: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 Description The getprotobynumber function returns the name associated with the protocol number defined by number. The name is retrieved from etc protocols. getservbyname Syntax getservbyname service protocol Description The getservbyname function returns the port that corresponds to service and protocol. The services are retrieved from etc services file. Valid protocols are specified as TCP or UDP. getservbyport Syntax getservbyport port protocol Description The getservbyport function returns the service which corresponds to port and protocol. The services are retrieved from etc services. Valid protocols are specified as TCP or UDP. openlog Syntax openlog ident option facility Description The openiog function opens a connection to the system logger. The string ident is added to each entry sent to the system log. Valid values for option are given in Table and valid values for facility are given in Table . These values are also found in the manpage for syslog 3 . Note IT-SC book 250 PHP Developer s Dictionary The option LOG_PID is the only valid option in the Windows environment. Table . Valid Values for option Options Description LOG_PID Add the PID to each message. LOG_CONS If a message cannot be sent to the system log send the message to the system console. LOG_ODELAY Delay opening the log until the first call to syslog. This is true by default. LOG_NDELAY Open the log immediately. Do not wait for the first call to syslog. LOG_NOWAIT Do not wait for child processes. The use of this flag is discouraged. LOG_PERROR Log all messages to stderr. Note LOG_USER is the only value for facility that is valid in the Windows environment. Table . Valid Values for facility Facility Description LOG_KERN Kernel messages LOG_USER Generic user-level messages default LOG_MAIL Mail subsystem LOG_DAEMON Other system daemons LOG_AUTH Security authorization messages deprecated use LOG_AUTHPRIV instead LOG_SYSLOG Messages generated internally by .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.