Name | Modified | Size | Downloads / Week |
---|---|---|---|
readme.txt | 2013-11-27 | 1.7 kB | |
Super Comments.rar | 2013-11-27 | 4.7 kB | |
Totals: 2 Items | 6.4 kB | 0 |
//||\\ Hello. This script you downloaded should be free. If you paid, I suggest you get a refund. http://www.example.com/comments/ is used to represent the url to the folder that you put our script into. --/Installation\-- 1. Upload all the files to a folder as close to the root directory as you can. 2. Get your Mysql database creditials ready. Open database.php and update it. 3. Import table.sql into your database. 4. Go to http://www.example.com/comments/demo1.php to read comments, and http://www.example.com/comments/demo.php to post a comment. If you can post and read the comments then you installed correctly! --/Usage\-- To use in a PHP document already filled with your content, simply insert, require('includeme.php'); and either getComments("1"); to see comments OR submitComments("1",$_SERVER['PHP_SELF']); to submit comments. The 1 in these functions is an id for the comments. Comments submitted with submitComments("1",$_SERVER['PHP_SELF']); can be viewed by getComments("1");. Comments submitted with submitComments("2",$_SERVER['PHP_SELF']); can be viewed by getComments("2"); etc... etc... The $_SERVER['PHP_SELF'] is where the script redirects users when they submit a comment. If a user submits one at the url, http://www.example.com/blog/post/123 then submit.php will send them back to http://www.example.com/blog/post/123 after they are done. --/Terms of Use\-- This work is licensed under the Creative Commons Attribution-NoDerivatives 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nd/4.0/deed.en_US. You must leave the notices at the top of each php file provided, intact. Thanks, Chase Cromwell