OK, then. I've edited my files and seem to be having no problems. I have no idea if it's sped up my server response, though.

No, i think BadDog first wrote:but then Flexer come up with a better idea, so BadDog then edited his first post. So dont care about it, just do whats written in post #1

https://cutephp.com/forum/style_emoticons/default/wink.gif

This hack works great on my own server, but im haveing problems on an other.. Dont know why, guess its a server-related problem https://cutephp.com/forum/style_emoticons/default/tongue.gif  (On the one with problems I have disabled comments, maybe thats why..? )


Where are you finding this code? I mean the block that begins with "$update_file". It's not in addnews.mdu, as far as I can tell.


 $update_file = fopen("./data/comments.txt", "a+");
 flock($update_file, 2);
 flock($update_file, 3);
 fclose($update_file);


better solution is using

 touch("./data/comments.txt")

all in all, this is really a helpful tuning to your site and server performance