From f27629d1dc77df57779ab296cdd7900cbfc2c43a Mon Sep 17 00:00:00 2001 From: Carola 'Sammy' Kummert Date: Mon, 15 Jan 2007 10:01:59 +0000 Subject: [PATCH] fixed typo git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227272 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/network/functions/syslog.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/network/functions/syslog.xml b/reference/network/functions/syslog.xml index 5652467d22..445664c903 100644 --- a/reference/network/functions/syslog.xml +++ b/reference/network/functions/syslog.xml @@ -1,10 +1,10 @@ - + syslog - Generate a system log message + Generate a system log message Description @@ -90,7 +90,7 @@ if (authorized_client()) { // unauthorized client! // log the attempt $access = date("Y/m/d H:i:s"); - syslog(LOG_WARNING, "Unauthorized client: $access $_SERVER[REMOTE_ADDR] ($_SERVER[HTTP_USER_AGENT])"); + syslog(LOG_WARNING, "Unauthorized client: $access $_SERVER['REMOTE_ADDR'] ($_SERVER['HTTP_USER_AGENT'])"); } closelog(); @@ -112,7 +112,7 @@ closelog(); Use of LOG_LOCAL0 through - LOG_LOCAL7 for the facility + LOG_LOCAL7 for the facility parameter of openlog is not available in Windows.