mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
fixed typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227272 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
b1a3571539
commit
f27629d1dc
1 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue