выдает сайт такое сообщение Warning: fopen(mod/post/count.txt) [function.fopen]: failed to open stream: Permission denied in /home/nessk135/public_html/mod/post/save_post.php on line 53
Warning: fwrite(): supplied argument is not a valid stream resource in /home/nessk135/public_html/mod/post/save_post.php on line 54
Warning: fclose(): supplied argument is not a valid stream resource in /home/nessk135/public_html/mod/post/save_post.php on line 55
Warning: fopen(mod/post/p/post.txt) [function.fopen]: failed to open stream: Permission denied in /home/nessk135/public_html/mod/post/save_post.php on line 57
Warning: fwrite(): supplied argument is not a valid stream resource in /home/nessk135/public_html/mod/post/save_post.php on line 58
Warning: fclose(): supplied argument is not a valid stream resource in /home/nessk135/public_html/mod/post/save_post.php on line 59 а на локалке работало...что это?
Добавлено через 02:47 сек.
вот участок скрипта где выдает ошибку $fp = fopen ("mod/gbk/count.txt", "w");
fwrite ($fp, $count);
fclose ($fp);
//text
$fp = fopen ("mod/gbk/p/post.txt", "a");
fwrite ($fp, "$_POST[name]|$_POST[date]|$_POST[mess]\r\n");
fclose ($fp);
echo 'Сохранено';
что не так?