Derick Rethans wrote:
> On Mon, 15 Jan 2007, Carola 'Sammy' Kummert wrote:
>> - 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'])");
>
> That won't work, you need to use { and } :
>
> syslog(LOG_WARNING, "Unauthorized client: $access
> {$_SERVER['REMOTE_ADDR']} ({$_SERVER['HTTP_USER_AGENT']})");
right. I'll fix it with the next update - but think it is better
to use the {$foo['bar']} syntax than the one without associative
array key string delimiter.
Regards,
Sammy