Recommend this page to a friend! |
Download .zip |
Info | View files (4) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2004-06-09 (12 years ago) | Not enough user ratings | Total: 1,582 | All time: 2,405 This week: 1,113 |
Version | License | Categories | ||||
gnvisitorinfo 1.0 | GNU Lesser Genera... | User Management, Geography |
Description | Author | |||||||||||||
The gnVisitorInfo class is meant to gather some information about the visitor on your page. |
|
Hello users, The gnVisitorInfo class helps you gather some information about the visitor on your page. Information extracted include - IP, Request method ,Browser Detail, Operating System Detail, Country Name resolving (from IP address) Accepted Language (To be implemented), Accepted Encoding (To be implemented), Accepted Charset (To be implemented) Note: You need the iplookup.sql database dump to get IP to Country resolving done. the sql is available here http://www.girishn.com/pages/downloads.php#gnVisitorInfo Regards, Girish For any bashing/thrashing/kicking/likeing use <girishn2003_@_yahoo_._co_._in> Installation: You need to copy the class files gnVisitorInfo.php & db_mysql.inc into the folder where your application lib is stored. Get the database SQL(if you don't have it already) from http://www.girishn.com/pages/downloads.php#gnVisitorInfo create a database by following steps 1. mysql -u mysqlusername -p 2. Enter the password when prompted 3. SQL> CREATE DATABASE gnPrograms; 4. SQL> QUIT 5. mysql -u mysqlusername -p gnPrograms < iplookup.sql Change the database setting in db_mysql.inc Now copy the example.php into the web root directory. and change the path for require("/your/path/to/gnVisitorInfo.php"); as per your installation Now access the example.php from different browsers. Tested on: PHP 4.3.2 OS: Linux, Windows 2000 |
Files |
File | Role | Description |
---|---|---|
db_mysql.inc | Aux. | mysql abstraction class from PHPLib |
example.php | Example | example script |
gnVisitorInfo.php | Class | Class file to help extract the information. |
Readme.txt | Doc. | Read this to get more Gyan. |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Related pages |
db_mysql.inc The mysql database abstraction class from PHPLib. |
SQL file Get the database dump here. |