Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Miscellaneous

Era Visitor Counter & UserAgent Class

— Add-On to

Subscribe to our feed to stay up to date!

New! Follow us as you want it!

Era Visitor Counter & UserAgent Class - Item for Sale


Ad: Bluehost hosting

Era Visitor Counter & UserAgent Class
If you want to record your visitor’s browser, country, city, isp, platform etc., this class is for you.
Era useragent class use Browscap.ini file for get visitor’s agent information.
You can find your visitor’s location on your DB or external API.
And you can report this informations and show on your web site.
For IP2Location API Key, please register and get an api key.


  • Find your visitors location (ip2location)
  • You can use your DB (only countries) or external API for IP2Location.
  • Very easy for counting online users. (member, guest and total)
  • Compare user’s agent information (is_robot, is_mobile, is_browser etc)
  • Generate reports about your visitor’s data.
  • Very easy to known how visits your page

Need Customization?

If you need customization, contact me through my profile email.


Update v.1.1
  • Used external database class.
  • Fixed some errors.
  • Removed mobile() function.
  • Added some functions. Please look live demo.
  • Removed some variables. Please look live demo.
  • IP2LocationLab.Com API Keys stored at database. You can use more keys if one of keys’ credits end.

Initial Release: 03 February 13
Update to v.1.1: 17 February 13


Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers


3 February 13

Last Update:
17 February 13

Compatible Browsers:
IE6, IE7, IE8, IE9, IE10, Firefox, Safari, Opera, Chrome

Software Version:
PHP 5.0 - 5.2, PHP 5.3, MySQL 4.x, MySQL 5.x

Files Included:
JavaScript JS, HTML, CSS, PHP


browscap, counter, ip2location, visitor