Comments Demo page

This page shows how comment script works.

Comments page 164 of 267
Click here to add a comment
SRTEVE
Posted 6417 days ago
123
testing
Posted 6417 days ago
test message test message
tester
Posted 6419 days ago
test message
Adrian
Posted 6423 days ago
Akash, I found a better answer from you, you can use include $_SERVER['DOCUMENT_ROOT'] to detect the path to site root and then you add the path relative to site root and that will work from any location in your site.
If you have comments folder in site root then use this include path:

include ($_SERVER['DOCUMENT_ROOT']. '/comments/comments.php');
Adrian
Posted 6423 days ago
Hello Akash, is more like a php limitation, php scripts are included using relative paths:
< ? php include '/comments/comments.php' ; ? >
is correct but if you try:
< ? php include 'www . site . com/comments/comments.php' ; ? >
Then you are actually including only its plain html code.
Akash
Posted 6423 days ago
Great script. I've managed to include it on my website. But a big problem is the fact that you absolutely have to include the relative path and not the absolute path, otherwise comments appear on all pages. I've tried all sorts of workarounds. Nothing doing. Please reply back adrian. Thx.
Adrian
Posted 6426 days ago
Chris, send me an email, I can test on your server before you buy if you like.