php script
$file = 'chatlog.php';
$fp = fopen($file, 'a');
fputs($fp, $data);
fclose($fp);
error
Warning: fopen(chatlog.php): failed to open stream: Permission denied in
Warning: fputs(): supplied argument is not a valid stream resource in
Warning: fclose(): supplied argument is not a valid stream resource in
what could have gone wrong?
$file = 'chatlog.php';
$fp = fopen($file, 'a');
fputs($fp, $data);
fclose($fp);
error
Warning: fopen(chatlog.php): failed to open stream: Permission denied in
Warning: fputs(): supplied argument is not a valid stream resource in
Warning: fclose(): supplied argument is not a valid stream resource in
what could have gone wrong?