fixed typo

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227272 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Carola 'Sammy' Kummert 2007-01-15 10:01:59 +00:00
parent b1a3571539
commit f27629d1dc

View file

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/network.xml, last change in rev 1.9 -->
<refentry id="function.syslog">
<refnamediv>
<refname>syslog</refname>
<refpurpose>Generate a system log message</refpurpose>
<refpurpose>Generate a system log message</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -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();
<note>
<para>
Use of <literal>LOG_LOCAL0</literal> through
<literal>LOG_LOCAL7</literal> for the <parameter>facility</parameter>
<literal>LOG_LOCAL7</literal> for the <parameter>facility</parameter>
parameter of <function>openlog</function> is not available
in Windows.
</para>