Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

PHP Tutorial : Making a comment system without SQL.

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
12,316
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 25, 2007

Read description for the source code.

You can find the source code at this link that I have set up:
http://paranoidk.com/forum/index.php?topic=852.0

Please follow the instructions in that link! The full source code is posted there.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (ZloolS)

  • at 5:25, where tha hell did you come out with "/youtube/comments.php"?????!!­!

  • @Turokcito2 "/youtube/" means a folder called "youtube" and "comments.php" is the file I am writing to.

  • @ZloolS so, do you need to create an empty flie or something?

  • @Turokcito2 Yes, I forgot to mention that in the video but you need to create an empty file called "comments.php" that will be written to.

  • when i type message and hit submit button it gives me this ....

    Name: " .$name. "

    Comment:

    " .$message. "

    "; fwrite($fp, $outputstring, strlen($outputstring)); fclose($fp); echo "Yout post was posted successfully. Click here to continue",: } ?>

  • You have to make it a .php file.

see all

All Comments (78)

Sign In or Sign Up now to post a comment!
  • May I ask for a sample file for everyting that works?

  • lame music ... sorry

  • Ha Ha you figured out how to do this too! I set mine up a while ago using include()

  • What part of the code do you place on the comment box, where the comments are shown?

  • The only time you would use this type of commenting system is for quick demo's to show clients where a commenting system would be in place. If you want to make a real commenting system use a database. This is just a quick and friendly way to make a commenting system for show purposes.

  • @harmzen nope, not at all.

  • By doing this, does it give each comment is own div to actually style up or what ever or?

  • what if i want to delete the comment?

  • I have an error!!! :O Am I supposed to include the "/youtube" folder in my version? If not, what do I replace it with!?

  • Hi can I email you the files i made while watching this tutorial and could you tell me what i am doing wrong?

    Private message me if thats cool with you.

    Thanks

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more