Hi,
I created a log file log_php.txt to store some things that happens in my PHP code used by Apache.
.I use it like this
$strmsg = "An error appeared here.";
$file = "c:\logs_php.txt";
error_log($strmsg, 3, $file);
and sometimes but not always this error appears. You may noticed that i use Windows for development.
Warning: error_log(c:\logs_php.txt) [function.error-log]: failed to open stream: Permission denied in C:\work\La\trunk\php\htdocs\aaa\util_functions.php on line 40
Can you give me an explanation what might cause this to happen?
Chris