Results 1 to 2 of 2

Thread: Creating a statistic graph

  1. #1
    Join Date
    Mar 2011

    Creating a statistic graph

    I'm trying to create a custom made class that will track the hits, unique visitors, IPs of visitors, referrers, and the landing page. I'm mostly utilizing the $_SERVER global however in the last two hours I've gotten 112 hits and 41 unique visitors. This part is correct, however, I see that some people don't have a referrer and a their landing page is nested deep or a blog article. You can check my statistics below:


    I'm wondering how people can land on a blog article or service page without having a referrer. There's no way they can have it bookmarked so what's the other reason?

  2. #2
    Join Date
    Aug 2004
    The client is not required to send the referrer header, so there's never any guarantee you'll receive one regardless of the situation. (Browser privacy settings, using proxy hosts, automated scripts using cURL, etc. might be just a few reasons.)
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center