TestClear

Author Topic: Installation Instruction  (Read 6511 times)

Offline admin

  • Administrator
  • *****
  • Posts: 68
  • Karma: +11/-0
  • Gender: Male
Installation Instruction
« on: July 07, 2010, 06:02:18 AM »

1. Unzip

2. Upload menage & image folder

Quote
http://www.example.com/menage

3. Upload file comments.php

Quote
http://www.example.com/comments.php

4. chmod 666 config.php

5. Follow the instructions

Quote
http://www.example.com/menage/install.php

6. chmod 644 config.php

7. PHP Code to display form and comments:



Code: [Select]
<?php $root $_SERVER['DOCUMENT_ROOT']; include $root '/comments.php'?>




Offline acerbitch

  • Supporter
  • **
  • Posts: 1
  • Karma: +0/-0
Re: Installation Instruction
« Reply #1 on: June 07, 2011, 06:06:07 AM »
Dear Admin,

I've just installed the PHP Comments script. I've tried to display the form at the bottom of a page but nothing happened. Do I include <?php $root = $_SERVER['DOCUMENT_ROOT']; include $root . '/comments.php'; ?> code at every page I want the comments and the form to appear?

I want every page to have different comments, is this possible?

Thank You!

Offline ciko

  • Contributor
  • *****
  • Posts: 37
  • Karma: +3/-0
  • Gender: Male
    • phpenter.net
Re: Installation Instruction
« Reply #2 on: June 07, 2011, 06:42:10 AM »
Are you running all your pages on a *php or *html file?

Sample Page

Code: [Select]
<?php

include ('heder.php');

include (
'post.php');

$root $_SERVER['DOCUMENT_ROOT']; include $root '/comments.php';

//or..include ('comments.php');

include ('footer.php');

?>