Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8239843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T20:17:02+00:00 2026-06-07T20:17:02+00:00

I haw active site for one day. Inside pages i haw this function public

  • 0

I haw active site for one day. Inside pages i haw this function

public function visit_update($link){
    $query = mysql_query("UPDATE user SET visit = visit + 1 WHERE link = \"$link\" ");
}

Every user has a unique link. I haw one active user only, because of testing (page is currently in testing).

Last night for one active user it was counted 50 visits in database. Today i when i was checking it, it was 560 visits. I haw also a google analytic activated and there it was counting for that page 50 or so visits and 3 visitors , because I was testing in 3 different explorers.

The function dos not repeat it self , and only counting visitors that are not owners of the page. How is that possible ?

Update:

I went throe raw logs , and fount out two IP addresses (66.249.66.87 and 66.249.72.210) that was visiting my site all night and they are from google. How do I distinguish real web browsers from dummy like robots in PHP ? is that possible ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T20:17:04+00:00Added an answer on June 7, 2026 at 8:17 pm

    You can detect crawlers by looking at the User Agent of the visiting browser most web crawlers indicate that they are a crawler. An example of crawler detection code can be found here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I haw two tables one is product and one is date. Date table represent
i asked the question about haw to create a button by a text &
I am trying to train cascade based on this post and official documentation. My
I have created a standard windows forms application in Visual Studio 2010. public ref
Ok so I have this Page and as you can see if you scroll
How can I implement conditional lock in threaded application, for instance I haw 30
Following this : Best approach for oldschool 2D zelda-like game I got a simple
I haw got a array of directory's that i wont to use for the
i write some html with JS into a div. like this $(#picdiv).html(<a rel='lightbox' href='pic.jpg'><img
I have a table in a db that has a structure like this: Date

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.