sammywg Mon Jan 15 10:45:03 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.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/network/functions/syslog.xml diff -u phpdoc/en/reference/network/functions/syslog.xml:1.8 phpdoc/en/reference/network/functions/syslog.xml:1.9 --- phpdoc/en/reference/network/functions/syslog.xml:1.8 Mon Jan 15 10:01:59 2007 +++ phpdoc/en/reference/network/functions/syslog.xml Mon Jan 15 10:45:03 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- splitted from ./en/functions/network.xml, last change in rev 1.9 --> <refentry id="function.syslog"> <refnamediv> @@ -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();