Comments RAM

Printer-friendly versionPDF version
Your rating: None Average: 3 (1 vote)

Comments RAM is a small php script that allow you to collect comments for each single page of your website! It uses flat file to store your messages. It keeps only 10 comments at a time. When a page receives more comments it automatically deletes older comments. It can filter messages for junk comments, advertises and bad words. It also sets a cookie in browser so that visitor cannot put so many comments

 

 

  • Upload "comments_ram.php" and "comments_ram.js" in your server.
  • Also upload "main.css" in the same folder
     
  • Include the "comments_ram.php" file, in the pages you need to collect comments


     
  • To add the page comments system, just call the function like below


  • Replace [page id] with a suitable integer for that page. Be sure to have separate page id value for each of your pages.


  • Update or Edit comments:
    Incase you need to upadte your comments go to 'comments/[page id].txt' open the text file and edit your entries.
Source Files: