Username: Save?
Password:
Home Forum Links Search Login Register*
    News: Welcome to the TechnoWorldInc! Community!
Recent Updates
[April 24, 2024, 11:48:22 AM]

[April 24, 2024, 11:48:22 AM]

[April 24, 2024, 11:48:22 AM]

[April 24, 2024, 11:48:22 AM]

[April 03, 2024, 06:11:00 PM]

[April 03, 2024, 06:11:00 PM]

[April 03, 2024, 06:11:00 PM]

[April 03, 2024, 06:11:00 PM]

[March 06, 2024, 02:45:27 PM]

[March 06, 2024, 02:45:27 PM]

[March 06, 2024, 02:45:27 PM]

[March 06, 2024, 02:45:27 PM]

[February 14, 2024, 02:00:39 PM]
Subscriptions
Get Latest Tech Updates For Free!
Resources
   Travelikers
   Funistan
   PrettyGalz
   Techlap
   FreeThemes
   Videsta
   Glamistan
   BachatMela
   GlamGalz
   Techzug
   Vidsage
   Funzug
   WorldHostInc
   Funfani
   FilmyMama
   Uploaded.Tech
   MegaPixelShop
   Netens
   Funotic
   FreeJobsInc
   FilesPark
Participate in the fastest growing Technical Encyclopedia! This website is 100% Free. Please register or login using the login box above if you have already registered. You will need to be logged in to reply, make new topics and to access all the areas. Registration is free! Click Here To Register.
+ Techno World Inc - The Best Technical Encyclopedia Online! » Forum » THE TECHNO CLUB [ TECHNOWORLDINC.COM ] » Programming Zone » PHP
 PHP MYSQL Visitor Counter
Pages: [1]   Go Down
  Print  
Author Topic: PHP MYSQL Visitor Counter  (Read 1147 times)
Hellraiser
TWI Trailblazer
*******



Karma: 3
Offline Offline

Posts: 2476


View Profile
PHP MYSQL Visitor Counter
« Posted: August 29, 2007, 02:24:16 PM »


PHP MYSQL Visitor Counter


Description

There are lot of good systems like this class but most of them are really complex and difficult to modify. You have to use this kind of systems like provided. This class is not an alternative if you look for the same amount functions, but it's a light weight solution to integrate into your website.

    * Current functions Unique visitor counter (time operated)
    * Registration of information about the visitor (referer, ip address, date/time etc.)
    * Saving the visitors country code (ip address based)
    * (graphical) Visitor statistics (periods, top 10, country based...)
    * HTML code generation (statistics)

Requirements

This class requires a PHP enabled Apache (virtual) host. I tested this class with PHP 4.3 and MySQL 3.23 on Windows and Linux.
You can use this class with the php setting register_globals = off.

Installation

    * Use both sql files to create the MySQL tables.
    * Now change the config-file "db_config.php" to fit your environment.
    * To fit the path structure check the include paths in the example / application files. I used the server variable "DOCUMENT_ROOT" as the root level.
      Above the root the is a folder named "classes". Inside this folder I used the folder named "count_visitor_statistics" (the standard location for all files).
    * Now you can include the counter method in the required files. Tip! use one included file for several scripts!

Download the Attached File below
[Note: If u can't see any file attached, Please Register and Login with your id.]

« Last Edit: August 29, 2007, 02:40:00 PM by Mark David » Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Copyright © 2006-2023 TechnoWorldInc.com. All Rights Reserved. Privacy Policy | Disclaimer
Page created in 0.174 seconds with 25 queries.