Visitors Today: 90
Total Visits: 400220

www.codester.info

Do you have source code, articles, and tutorials to share?
Visual Basic, VB.NET, C#, PHP/MySQL, C/C++, Java/JavaScript, ASP/ASP.NET, MS Access, FoxPro, SQL
You can write your own content here.

Donation


    If the information on this site helps you and you would like to make donation to XtremeXtension.com please click the LINK below.

    If you want to support us, please make a contribution. Any amount is appreciated. To make a donation via PayPal, credit card, or e-check..

    Please click the DONATE link..

    Your contribution will make XtremeXtension.com grow in the future.

Sponsor

Calendar

Comment PHP Script (It's free too!)

    Posted Admin Posted On January 3, 2013

    PHP 15 Current Comments 32565 Views

    Like 89 people liked this.



    Comment Form / Post Feedback

    Allow users to display and post comments on a page..


    Feedback is very valuable to not only the web designers, but to other visitors as well. I have had multiple requests for a tutorial on this, so I decided to write one. This is a fairly advanced script, and I don't go into a lot of detail to explain my script...

    In order to use this script, you will need a web host that supports MySQL and PHP.

    I have tried my best to give you a stylish comment script, It looks very awesome please try it...


    Installation:




  • Enter database information into the top of db.php.

  • Upload all of the files & folders onto your server.

  • Use SQL query in table.sql to create your table in your MySQL database.




  • Usage:



    You can call the script on any page by using the following code:

    SOURCE
    <?
    require('inc_rate.php');
    getComments("1");
    submitComments("1",$_SERVER['PHP_SELF']);
    ?>


    Just make the number (in this case "1") unique for each page unless you want the same comments on different pages.


    Features:




  • Gravatar support

  • BBCode support

  • SyntaxHighlighter











  • JavaScript
  • PHP
  • MySQL
  • MySQLi

Download

Filename
Size
Downloads
125.48Kb
1992
Share With Your Friends
Share Your Thoughts With Other Users

13 comments so far (post your own)

I'm hosting a clients website under my own hosting account and their website is working fine. I created a folder withing their directory and uploaded the files but now I get the following error:

I cannot connect to the database because: Access denied for user 'dfc0117'@'localhost' (using password: NO). 

Trying to figure out where I went wrong.

Like 0 people liked this.
Reply

Nice script 

Like 1 people liked this.
Reply

Nice Script 

Like 1 people liked this.
Reply

Like in the demo of this script, how can we add re-captcha to avoid spam?

Like 1 people liked this.
Reply

Awesome Script.. 

Like 2 people liked this.
Reply

Nice script... thx for sharing 

Like 3 people liked this.
Reply

Thank you for Nice Script.

One query, Smiley / Like option for comments by user is not shown when i used this script. How to use this option ?

Like 3 people liked this.
Reply

I love it when people get together and share opinions. Great website, continue the good work!
Aur haan yeh comment php script boht he Professional hai.. nice share bro.. keep it up

Like 2 people liked this.
Reply

Dear
Qazi Ishtiyaq Ahmad Thanks you lots i always impressed like your creativity

Like 9 people liked this.
Reply

Ok
Sorry
I just found table.sql

Like 6 people liked this.
Reply
Previous12Next
Leave a Reply
This small test serves as access restriction against malicious bots.