Re: cvs: phpdoc /en/reference/network/functions syslog.xml

From: Date: Mon, 15 Jan 2007 10:27:05 +0000
Subject: Re: cvs: phpdoc /en/reference/network/functions syslog.xml
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969374810@lists.php.net to get a copy of this message
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 @@ -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();
Please revert this, as it is wrong: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in xx. Nuno

« previous php.doc (#969374810) next »