Visitors Today: 6
Total Visits: 456993

XtremeXtension

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 16 Current Comments 38307 Views

    Like 91 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
2571
Share With Your Friends

Fatal error: Uncaught Error: Call to undefined function mysql_escape_string() in /home/xtremgoo/laravel/public/comments/inc_rate.php:89 Stack trace: #0 /home/xtremgoo/laravel/public/pages/display.php(401): getComments('2', 'post') #1 /home/xtremgoo/laravel/public/body.php(18): include('/home/xtremgoo/...') #2 /home/xtremgoo/laravel/public/index.php(376): include('/home/xtremgoo/...') #3 {main} thrown in /home/xtremgoo/laravel/public/comments/inc_rate.php on line 89