Hi all,
I'm trying to implement some PHP code for a comments system on my site.
I've set it all up properly and I'm at the implementation stage.
According to the readme I have for the script, I have this to do:
How to use
"To show the comments on a page copy and paste the following code:
If your site uses php:
<?php require("/path/to/your/www-home/comments/comments.php"); ?>
OR
<?php virtual("/comments/comments.php"); ?>
(could not work with some php versions) "
Now, I use nvu as an authoring tool and I know how to insert PHP code, but what I was wondering is what I should put in the 'path/to/your/www-home/' bit.
I have the comments folder in the public_html folder of my site.
Hope someone can help!
Thanks
Rob
I'm trying to implement some PHP code for a comments system on my site.
I've set it all up properly and I'm at the implementation stage.
According to the readme I have for the script, I have this to do:
How to use
"To show the comments on a page copy and paste the following code:
If your site uses php:
<?php require("/path/to/your/www-home/comments/comments.php"); ?>
OR
<?php virtual("/comments/comments.php"); ?>
(could not work with some php versions) "
Now, I use nvu as an authoring tool and I know how to insert PHP code, but what I was wondering is what I should put in the 'path/to/your/www-home/' bit.
I have the comments folder in the public_html folder of my site.
Hope someone can help!
Thanks
Rob
Last edited: