|
|
|
 |
|
 |
|
Geo Traffic In Your Web Site... and You Will Get The Big Picture!
|
GETTING STARTED
|
|
|
Whether you are building websites for your own needs or clients, the first stage is to plan what you want to do with the website and what you like it to be. Having the objective, you can continue to collect materials, draft the content, page flows and plan how are you going to promote it after launch.
|
|
|
In the design stage, you can use various popular HTML building tool such as Macromedia Dreamweaver, Microsoft Front Page and Adobe Golive. Together with graphics, Adobe Photoshop or Macromedia Fireworks is good enough for you to make impressive looking web pages that serve the objective of your site
|
|
|
Next, having dynamic functionalites or interactions in web sites are what most people want rather than just static content. Now, you can easily download and plug-in the Comdev Geo Traffic components to the web pages that you have built so far. This will save you a lot of time and coding headache without building from scratch, yet you are able to deliver a powerful database driven website.
|
|
|
Publishing all your hard work online give you enough satisfaction. However, that is not where you should stop. Promoting through search engines and publicity campaigns will bring you much traffic. You will need to get the feedback of how well it work and your visitor's response. Track them down by country, daily hits and site referers with Comdev Geo Traffic component!
|
|
 |
System Requirements |
Top
|
|
| Script Type |
Server Side Scripting |
| Operating System |
Linux or Windows Server |
| Web Server |
Apache and IIS with PHP 4.0 or above support |
| PHP Configuration |
GD Library Version 2.0 or higher (for graph generation) |
| Database |
MySQL |
| Web Browser |
Internet Explorer 5, Netscape 4.0 or both above, Javascript and cookie enable |
|
 |
Installation Guide |
Top
|
|
The installation of involve two parts
- Installation of Web Components Engine (skip if you have already installed)
If you plan to use more than one component for your project, you will only need a copy of Web Components Engine installed for the project and plug-in rest of the components in the appropriate 'component' folder.
- Installation of Geo Traffic component
Recommendation
If you are not familiar with MySQL command to manipulate databases, you may use phpMyAdmin as alternative.
phpMyAdmin is a web-based MySQL administration tool. It can create/drop databases, create/drop/alter tables, delete/edit/add fields, execute any SQL statement, manage keys on fields and more. .
Web Components Engine Installation
- Find the root folder of your web project or create a new root folder for your web project. Example, c:\inetpub\wwwroot\foldername.
- Download the file called webce20.zip. Extract it into the root folder, i.e c:\inetpub\wwwroot\foldername.
- Make sure you have a MySQL database created, its username and password.
- Dump the webce.sql file into the MySQL database to create tables, using either:
a) MySQL command: mysql -u yourusername -p yourdatabasename < webce.sql
b) phpMyAdmin: Browse the webce.sql file from your computer to run sql queries.
- Edit the setting.php file. Replace the appropriate configuration as below.
$path["webroot"]="http://yourdomain/foldername/";
$path["docroot"]="c:\\inetpub\\wwwroot\\foldername\\";
$db["host"]="localhost";
$db["user"]="Your Username";
$db["pass"]="Your Password";
$db["used"]="Your Database";
- Once you are done, access http://yourdomain/foldername/admin.php with your web browser.
- Since this is the first login after your setup, just leave the Username and Password blank. Click on the Login button.
- Upon login, you will be directed to the administration area of Web Components Engine. As there is no component installed yet, you will see a blank menu on your left and a blank page.
Geo Traffic Component Installation
- Locate a folder named 'component' in your web project directory. Example: c:\inetpub\wwwroot\foldername\component.
- Download the file called geotraffic10.zip. Extract it into the component folder.
- Dump the geotraffic.sql file into the MySQL database, using either MySQL command line or phpMyAdmin.
a) MySQL command: mysql -u yourusername -p yourdatabasename < geotraffic.sql
b) phpMyAdmin: Browse the geotraffic.sql file from your computer to run sql queries.
- Next, you need to setup the IP-Country tracking database. The total records is around 55000 or more. To avoid MySQL import process conflict, we have separate them into 3 CSV files.
- Locate the 3 files : geotrafficIP1.csv, geotrafficIP2.csv and geotrafficIP3.csv.
- Import all the 3 files into the your MySQL database > geotraffic_ip table, using either phpMyAdmin or Comdev CSV Data Tool component.
a) phpMyAdmin: Go to geotraffic_ip table properties, choose 'Insert data from a textfile into table'. Browse for the file each at a time. Make sure ',' (comma) is used as fields terminator. Click on Submit button.
b) CSV Data Tool: Select geotraffic_ip table. Browse for CSV file. Import first record row. Click on Import button.
- Set attribute of the /component/geotraffic/upload folder to Read, Write and Execute permission to all parties.
a) If you are using Linux server, the command is: chmod 777 upload
b) Using FTP software, right click on the upload folder > Change attributes > Check all boxes or set 777 manually .
- Access the WebCE administration again and you find the Geo Traffic component is installed.
- Go through the report graphs and wait see your site traffic growing.
Integrating Web Pages with Geo Traffic Component
- You can freely develop your web pages using Dreamweaver or other HTML tools.
- Example, you can have index.html, aboutus.html and an 'image' folder to keep all your image files.
- In your web pages where you want to do the tracking, display the visitor's counter and greeting message, put the line below to call the Geo Traffic script.
<?php include("component/geotraffic/home.track.php") ?>
- It's done and you will get all the reports!
|
|
 |
Send Your Requirements |
 |
Support & Help |
|
We would be greatful if you send us more requirements that you need for this component. We believe with continuous feedback from you, we can provide you with the best components around.
|
|
 |
If you experience difficulties, questions or insufficient information that we provide, please feel free to contact our Support Team. |
|
|
|
Copyright © 2003 by Comdev Software. All Rights Reserved. |
|
|