Results 1 to 7 of 7

Thread: please suggest a GOOD commenting script

  1. #1
    Join Date
    May 2007
    Posts
    9
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default please suggest a GOOD commenting script

    Hello
    I need a commenting script that is worth to go for. please suggest something good

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    comments are done by inserting something into the script so that its not used by the interpreter.

    PHP Code:
    /*  some comment */


    or 

    # some php comment


    or


    /*   some multiple
          line comment
    */ 

  3. #3
    Join Date
    May 2007
    Posts
    9
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by boogyman View Post
    comments are done by inserting something into the script so that its not used by the interpreter.

    PHP Code:
    /*  some comment */


    or 

    # some php comment


    or


    /*   some multiple
          line comment
    */ 
    thanks for reply but I m not this much noob, i meant a script that i can use on my php pages so that visitors can leave comment

  4. #4
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    lol. Try writing to a file and then reading it, or else putting the info in MySQL.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  5. #5
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    Code:
    <?php
    
    $NewFile = 'MyNewFile.php';
    
        $handle  = fopen($NewFile, 'w');
    
             $info = "<?php /*the info you want, such as a var */ ?>";
    
             fwrite ($handle, $info);
    
         fclose ($handle);
    
    ?>
    Hope that helps you a bit.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  6. #6
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    are you talking about just a comment form that is sent to you / someone via email? or are you talking about storing it and retrieving it for some other purpose?

  7. #7
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Look through this thread (most of the best info is on the second page or so).
    http://www.dynamicdrive.com/forums/s...ead.php?t=9940
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •