I tried this, but comments are not deleted. When trying to delete comments manually afterwards i get this:

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/dan18265/public_html/blogs/conf/hacks.php:1) in /usr/home/dan18265/public_html/blogs/inc/_core/_template.funcs.php on line 133

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/dan18265/public_html/blogs/conf/hacks.php:1) in /usr/home/dan18265/public_html/blogs/inc/_core/_template.funcs.php on line 136

I can't access the file sam2KB suggested back in 2009. Is there a more recent file to delete-stop spam? I really just want to turn off the ability for users to post comments temporarily. I am using version 4.05 and there is NO WAY I'm going through all the hassle of upgrading.