E-Mail:

Tracking Visitors With PHP

A long while back I wrote up an article about how to track when Googlebot had come to pay your Web site a visit. After receiving dozens of E-mails on that topic, I figured I’d hunt down another useful way of tracking things using PHP. The best thing about PHP coding in general is that there are so many scripts and codes other folks have already figured out. To get most of them working, all you need to do is plug the code into your PHP Web page. That is what lead me to these scripts which use a few strings of PHP code to track your Web site visitors.

Just as a warning, some of this code might scare the few folks out there who are not used to messing with things “under the hood” so to speak.

The most important part is getting the information from your visitor. Thankfully, this is extremely easy to do in PHP (or any other scripting language for that matter). PHP has a special global variable called $_SERVER which contains several environment variables, including information about your visitor.

Need to know more? Check out the full article on tracking your visitors using PHP over at The Dev Web!

What Do You Think?

 

Want to Start a Blog Here for Free?

Are you an expert in one subject or another? If your goal is to help others and dispense hard-earned information back to the community, stake a claim on your very own Lockergnome blog today! You can write about anything - no matter the topic. Sign-up to start blogging!

Flash, SEO - Aug 6, 2008

Flash And SEO: Like Oil And Water

68 queries / 0.310 seconds.