on Fri, 02 Aug 2002 12:24:29 GMT, [EMAIL PROTECTED] (Kyle Babich) wrote: > Sorry, forgot to attach it.
Please don't attach files to your posts. You can always cut and paste the relevant code directly into your message body. Your error is in line 13, where you write: > [one line wrapped] > print LOG "$ENV{"HTTP_USER_AGENT"} $ENV{"REMOTE_ADDR"} > $ENV{"REMOTE_HOST"} $ENV{"HTTPS" } $ENV{"REMOTE_PORT"} > $ENV{"SCRIPT_FILENAME"}"; You can't have double quotes within double quotes without escaping them. But why write $ENV{"HTTPS"} when $ENV{HTTPS} works as well? BTW (just curious :-), why are you seeking to the beginning of a file just after opening it for read? And why are you assigning the return value of the open call to the misleadingly named variable '$content'? You do know that the return value of an open call has nothing to do with the contents of the file, don't you? -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]