INTRODUCTION.
SAC is a very simple module to add comments on your website, written in PHP that uses
mySQL database. It has mySQL injection protection, antispam check for data
entered in the comment form and simple antiboot protection.
1. Installation.
Using SAC is very simple. First thing you have to do is to download SAC and unpack it. Now open
config.php file and change definitions to those you're going to use eg. login, password,
database and server. This is the file that is used by SAC to manage comments on your
website. Here you can also configure how many comments you want to be displayed on your
page using SAC_NUM_REC_TO_DISPLAY, and how many records (comments) you want to keep in your
table by using SAC_NUM_REC_TO_KEEP.
Once this is done you can go to create_db.php file and copy query from there that
creates database and table, or simply go to www.yourwebsite.com/SAC/create_db.php - this
will query mySQL and do the job for you.
Now remove create_db.php file (just in case someone may try to play with SAC).
2. How to use SAC.
Once installation is finished all you have to do is to run session before any SAC call,
this is done by calling session_start() and then put the following code in the place you
want comments to be displayed:
<?php
require ('./SAC/comment.php');
sac_comment_display(SAC_NUM_REC_TO_DISPLAY);
sac_comment_add();
php?>
NOTE: Remember to modify path in require('./SAC/comment.php'); to what you use.
SAC Subversion repository can be accessed by:
All comment sections on this website are SAC.
Comments:
Author: elundleslee Date 2011-12-16 11:10:59check this link, , for special offer to your friends
Author: Дизайн интерьера Москва Date 2011-10-21 09:50:23
sait - Дизайн интерьера в Москве
Author: bt Date 2011-08-09 16:52:01
kontroler phy DP83848 STE100P
Author: hostgator coupon Date 2011-07-22 09:29:14
hostgator review. hdehrd gshnn vLjt
Author: justhost hosting Date 2011-07-22 04:05:09
justhostt web hosting. wfdcsv ttcvw gxsw
Author: bluehost host Date 2011-07-21 18:53:29
bluehost web hosting. jcdztk kjeeg vhpa
Author: Ticwramma Date 2011-06-23 19:19:14
cheapest vps - Canada
Author: #harris12[EGGHGGTGGTHT] Date 2011-06-16 11:39:41
Hi - I am definitely delighted to find this. Good job!
Author: ggg Date 2011-06-10 18:19:06
gfgfdhh
Author: #smithson[QPQQPOOUQPPU] Date 2011-05-29 06:46:02
Hey - I am really happy to find this. cool job!
Add Comment:
Name:Comment:
Write your comment...





