Easy Comments

Easy Comments is a straight forward free PHP comment script to add simple inline comments to your pages. Comments are stored in a flat ASCII (mark-up enhanced) file. Hence, no database is required.

Hack

Review the complete sources and download a free copy from the GitHub repository.

Demo

See below.

Help

Basic help and support is available via E-mail. Updates are usually announced in the News section.

Register

Follow this link to register and receive automatic update notifications. Registration is optional and free with no strings attached.

Add Comment

2017-04-22 08:17:40 root # @icke: you seem to have a knack for testing ;) By the way, just pushed an update to v20170422
2017-04-22 05:36:48 anonymous $ noch einer
2017-04-22 05:34:58 icke $ nur ein test
2017-04-14 07:00:54 anonymous $ Kikou every body :)
2017-04-13 22:47:29 ia $ Es otra prueba
2017-04-13 22:44:46 Prueba $ Es una prueba
2017-03-23 15:59:04 icke $ ist nur ein test
2017-03-11 08:03:22 root # @Daniel: I just tested the script from within an iframe and it worked as expected. Since I fail to reproduce your scenario I tend to believe the cause lies with some other code on your site.
2017-03-11 06:42:36 root # @Daniel: Frames are a bad thing to begin with. As for the script, this may seem silly, but you did properly configure it before using? I'm rather positive this is a frames issue and has nothing to do with the script itself. Please get in touch via the contact form for better assistance, providing your script version and config and URL where I can check your setup, thank you.
2017-03-10 23:26:25 Daniel $ @Root. I uploaded the files and added the url into a inner frame to make it seamless and keep the look and feel of my clients website. When I test the form, it redirects to the home page of the website. What am I missing?
2017-03-08 20:46:58 root # v20170308 available
2017-02-26 09:25:54 anonymous $ Heloo
2017-02-21 10:16:37 anonymous $ sweet
2017-02-18 08:55:16 root # Fresh set of tyres available on Github.
2016-10-28 07:38:46 Chris $ Thanks for the update!
2016-09-23 09:33:22 root # @Chris: Roger that. Just sent you a direct mail to open a channel, just in case ;) Thanks for bearing with me.
2016-09-23 09:19:20 chris $ P.H. seems you didnt get my message via contact form again:-( Maybe I wrote to many replys allready and im on blacklist:p my mail: *** (confirmed by admin)
2016-09-20 18:42:18 root # @Chris: Welcome ;) Didn't get any mail of yours though. Just tried sending one to myself and it arrived OK. Could you try to resend?
2016-09-20 18:15:26 Chris $ Wow great:-) css "white-space: pre-wrap;" so easy, didnt come to my mind. And I was breaking my head how to get the line break /n from textarea to php, to datafile to html output again*gg thank you very much for the lesson and the tidy comment script! btw I sent you an email via contact form today morning (no sending confirmation, so Im not sure if u got)
2016-09-20 16:41:27 root # @Chris: As mentioned earlier, mark-up is filtered per default because that'd be a perfect recipe to open the gates of evil. If you are prepared to take the risks, just modify the script to your heart's content. By the way, the updated CSS should add basic formatting. Please check.
2016-09-20 16:25:28 chris $ what about line breaks? This should start in the new line. again again
2016-09-20 10:42:36 root # @Chris: OK, there was a glitch in the sources on GitHub. I pushed an update, which should remedy the issue, apparently caused by the exit statements after the header() instruction. Please fetch a fresh copy to confirm it's fixed or not. Else mail me via the contact form for further assistance, thank you.
2016-09-20 06:33:02 chris $ @root when i post a comment localhost and testserver; and refresh page after that (conform form input) comment gets postet again. (seems the IP check doesn`t do what it should? Here on your demo page it works
2016-09-19 16:29:00 root # @anon: Yes, HTML is filtered indeed to prevent flooding and other gimmicks. Modify the sources if you want to enable mark-up in the comments.
2016-09-19 16:25:39 root # @chris: I fail to reproduce the repost. Are you running the script on a live site or on localhost? Please use the contact form if you care to dig deeper into the issue, thank you.
2016-09-19 11:04:10 chris $ comment postet again, when page refresh after post
2016-09-18 06:16:29 anonymous $ html filtered? ***
2016-09-17 09:07:59 php $ Nice comment script, thx for sharing. links allowed?
2016-08-12 07:53:21 anonymous $ supre
2016-05-10 12:38:40 root # @Rob: Welcome. Feel free to PM me via the contact form. I'm always curious to learn how you folks use the thing. Regards.
2016-05-10 11:34:26 Rob $ I like small, functional PHP scripts. Many thanks indeed for this.
2016-04-22 14:02:26 root # As you can see, manual editing to bypass the character limit is quite possible ;)
2016-04-22 13:42:10 root # Hi Alex. The value for host is the domain under which the script runs, in my case $eco_host = 'phclaus.com'; $eco_page pulls the name of the current file and doesn't need editing. Your default index is likely index.php already, so $eco_indx = str_replace('index.php', '', $eco_page); should be fine, too. $eco_data = $_SERVER['DOCUMENT_ROOT'] . $eco_page . '_comments.html'; appends _comments.html to the existing file name so that you don't have to worry about which comments belong where. $eco_cmax = 512; defines the number of maximum characters you want to allow. Smaller val = less chars, larger val = more chars. Feel free to drop me a line via the contact form if you need further assistance.
2016-04-21 12:14:48 Alex $ Tell me how to correctly fill in the fields // host, current page, default index, data file
2016-04-20 11:19:15 root # Update available. Just finished a bit of patching-up and added a basic spam filter along the way. Fetch your copy at GitHub. Thanks all for the feedback, much appreciated.
2016-04-18 02:10:54 anonymous $ it seems great
2016-04-10 03:36:48 SPL $ Ok... cool
2016-02-08 22:31:42 anonymous $ testing

(A-Z only)

Text must not contain links!

1 + 7 =

New posts will be listed after moderator approval.

Powered by PHP Easy Comments v20170422