Krok po koroku, pełna dokumentacja w języku polskim. Skrypty napisane w PHP są z reguły umieszczane w dokumentach tekstowych (często razem z HTML lub XHTML). Dzięki temu PHP jest podobny w założeniach do dużo starszego mechanizmu Server Side Includes[4]. PHP pozwala także na wykonywanie skryptów z linii poleceń podobnie jak Perl i Python. Jego modułowa budowa udostępnia również możliwość programowania aplikacji z interfejsem graficznym. PHP umożliwia współpracę z wieloma rodzajami źródeł danych, jak na przykład serwery relacyjnych baz danych, pliki tekstowe czy dokumenty XML.
syslog() generates a log message that will be
distributed by the system logger.
priority is a combination of the facility
and the level, values for which are given in the next section.
The remaining argument is the message to send, except that the
two characters %m will be replaced by the
error message string (strerror) corresponding to the present
value of errno.
Tabela 1. syslog() Priorities (in descending order)
| Constant | Description |
|---|---|
| LOG_EMERG | system is unusable |
| LOG_ALERT | action must be taken immediately |
| LOG_CRIT | critical conditions |
| LOG_ERR | error conditions |
| LOG_WARNING | warning conditions |
| LOG_NOTICE | normal, but significant, condition |
| LOG_INFO | informational message |
| LOG_DEBUG | debug-level message |
syslog.conf(5) Unix manual page. More information on the syslog facilities and option can be found in the man pages for syslog(3) on Unix machines.
On Windows NT, the syslog service is emulated using the Event Log.
Notatka: Use of LOG_LOCAL0 through LOG_LOCAL7 for the
facilityparameter of openlog() is not available in Windows.
See also define_syslog_variables(), openlog() and closelog().
| Poprzedni | Spis treści | Następny |
| socket_set_timeout | Początek rozdziału | Newt Functions |
php
kontakt:praca.pozycjonowanie@gmail.com