Comdev - PHP Scripts For Your Website
Fast Website Development with PHP Components

Misc Tools > Getting Started > Web Page Integration

One of our product uniqueness is we made our scripts capable to fit into your existing web design.

Before   After Integration

1. Create New PHP Page

Create a PHP page where you would like to use your miscellaneous tools. Save the web page file with .php extension, such as abc.php. You can put the file in any directory on the server.

2. Find the Document Path

To ensure that your Misc Tools works regardless the location of the PHP page, you will need to add your server's Document Path to all the PHP include codes.

To find the Document Path, open the


file with your text editor, and note down the value for $path["docroot"]. Let's assume the Document Path is C:/wwwroot/user/myadmin/

3. Include config.php, session.php and css.php

Insert the codes below to your PHP page to call the






. This will load all the necessary database connection, program libraries and CSS.

To do this, open the abc.php file with text editor, and put it to the

topmost line (line 1)

of the PHP file, without any preceded character.

  include_once ("C:/wwwroot/user/myadmin/config.php");

  include_once ("C:/wwwroot/user/myadmin/common/session.php");
  include_once ("C:/wwwroot/user/myadmin/common/css.php");

4. Site Search

a. To display site search box menu area:-

<?php include("C:/wwwroot/user/myadmin/misctool/home.sitesearch.php"); ?>
b. To display the search results in the content area:-

<?php include("C:/wwwroot/user/myadmin/misctool/home.searchresult.php"); ?>

5. Tell A Friend

a. To display the Tell-A-Friend section:-

<?php include("C:/wwwroot/user/myadmin/misctool/home.tellafriend.php"); ?>

6. Password Protected Page

a. To protect a page with password:-

<?php include("C:/wwwroot/user/myadmin/misctool/home.passwordpage.php"); ?>
You can protect either a full page or partial content.

To protect a full page, put the inclusion code after the <body> tag.
To protect partial content, put the inclusion code before the content that you want to protect.

7. Minipoll

a. To display the Minipoll:-

<?php include("C:/wwwroot/user/myadmin/misctool/home.minipoll.php"); ?>

8. Site Counter

a. To display the Site Counter:-

<?php include("C:/wwwroot/user/myadmin/misctool/home.sitecounter.php"); ?>

9. Minipoll

a. To display the Sitemap:-

<?php include("C:/wwwroot/user/myadmin/misctool/home.sitemap.php"); ?>

Proceed to Buy Now , Online Demo or Talk to Us