sammywg         Mon Jan 15 10:01:59 2007 UTC

  Modified files:              
    /phpdoc/en/reference/network/functions      syslog.xml 
  Log:
  fixed typo
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/functions/syslog.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc/en/reference/network/functions/syslog.xml
diff -u phpdoc/en/reference/network/functions/syslog.xml:1.7 
phpdoc/en/reference/network/functions/syslog.xml:1.8
--- phpdoc/en/reference/network/functions/syslog.xml:1.7        Thu Jun 23 
16:53:18 2005
+++ phpdoc/en/reference/network/functions/syslog.xml    Mon Jan 15 10:01:59 2007
@@ -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 @@
     // 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 @@
     <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>

Reply via email to