Comment: Manage a comment system using an SQL database

Recommend this page to a friend!
  Info   View files Example   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 3,042 All time: 1,188 This week: 304Up
Version License PHP version Categories
comment 1.0.0GNU Lesser Genera...4.0Databases, Content management
Description Author

This class can be used to manage a generic comments system. It could be used to add comments to a blog, a guest book, etc..

The comments are stored in an SQL database table. The class can install the table and associated indexes. Currently it supports MySQL and Microsoft SQL server.

The class can add new comments, update an existing comment, generate HTML forms to submit a comment and show the comments summary.

It works fine with PHP versions 4 and greater.

Recommendations

What is the best PHP guestbook class?
I want to query a database and add names to a guestbook

Innovation Award
PHP Programming Innovation award nominee
July 2006
Number 5


Prize: One downloadable copy of PhpED Professional
The possibility to post comments about the content that is published in Web site pages is very interesting.

It helps attracting more users that are able to participate in the site communities in a relevant way, even if it is just by letting them express their opinions.

This package provides a generic solution that could be used to let the users post comments about articles, blog posts, reviews, in guest books, etc..

Manuel Lemos
Picture of Peter Klauer
Name: Peter Klauer <contact>
Classes: 18 packages by
Country: Germany Germany
Age: 62
All time rank: 343 in Germany Germany
Week rank: 179 Down7 in Germany Germany Down
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Files folder imagecss (1 file)
Plain text file class_comment.php Class Show the comments
Accessible without login Plain text file class_comment_admin.php Aux. Use this class to validate the comments or to delete them
Accessible without login Plain text file test_comment.php Example How to implement the comment class
Accessible without login Plain text file License_LGPL-3.0.txt Lic. LGPL License
Accessible without login Plain text file CHANGELOG.txt Doc. Changes

  Files folder image Files  /  css  
File Role Description
  Accessible without login Plain text file comment.css Aux. Default CSS file

Downloadcomment-2011-05-02.zip 19KB
Downloadcomment-2011-05-02.tar.gz 16KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
SQL Table Download .zip .tar.gz Sqltable is needed to display the comment entries. Required
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,042
This week:0
All time:1,188
This week:304Up
User Ratings User Comments (2)
 All time
Utility:91%StarStarStarStarStar
Consistency:79%StarStarStarStar
Documentation:-
Examples:79%StarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:1199
 
well done
10 years ago (Naga Subrahmanyam)
52%StarStarStar
Excellent
11 years ago (kishore kumar)
70%StarStarStarStar
 

For more information send a message to info at phpclasses dot org.