Comdev - More PHP Modules For Your Website

Think PHP Modules . Think Comdev 

CSV Importer > Documentation > Integration Guideline


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

 Step 1 : Create new PHP page

Create a web page where you would like to publish your CSV Importer. Save the web page file with .php extension, such as csvimport.php.

Note: You can put the file into web root directory or any directory on the server.


 Step 2 : Find document path

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

To find the Document Path, open the ' /oneadmin/config.php ' file with your text editor, and note this path down. Let's assume the Document Path is 'C:/wwwroot/user/oneadmin/'


 Step 3 : Call 'config.php', 'session.php' & 'css.php'

Insert the codes as below to your web page file to call the 'config.php', 'session.php' and 'css.php'. This will load all the necessary database connection, class declaration files and css control. To do this, open the csvimport.php file with a text editor, and put it to the topmost line (line 1) of the php file.

<?php
  include_once ("C:/wwwroot/user/oneadmin/config.php");

  include_once ("C:/wwwroot/user/oneadmin/common/session.php");
  include_once ("C:/wwwroot/user/oneadmin/common/css.php");
?>


Note: Always put the above code to the line 1, without any preceding character(s), not even a space.


 Step 4 : Load CSV Importer menu and content area

I.   In your .php web page file, put the line below to call the Member Login Menu

  <?php include("C:/wwwroot/user/oneadmin/csvimport/home.login.php"); ?>


II.   Meanwhile, to display your CSV Importer content body such as CSV Import, Undo Import, Sign Up Member, Edit Profile, Forget Password, use the line below.

  <?php include("C:/wwroot/user/oneadmin/csvimport/home.csvimport.php"); ?>


 Step 5 : View integration result

Go to your web page, eg: ' http://your-domain-name/csvimport.php ' to view the CSV Importer publish result.

To preview your sample CSV Importer page in real time, click on the 'front-end' link on the top right menu from within the One Admin panel.


Back to the top



Risk Free Trial
Free Installation
Cost Saving Discount
24/7 Secure Ordering



  Introduction
  Getting Started
  Product Features
  Screenshots
  Requirements
  Trial Download
  Featured Clients
  Testimonials


  Documentation
     - Upload To Server
     - Installation Wizard
     - Web Page Integration
     - User Tutorial
  Support Forum
  Knowledge Base


"Once again COMDEV have worked great, cant express enough how happy i am using your One Admin. Many thanks."

- Barry Walker


Copyright © 2002-2007 by Comdev Software Sdn Bhd. All Rights Reserved. License Agreement Privacy Policy Site Map