enavu webdevmania tutsvalley psdestination
visit the enavu network
No Comments Article Title Overlay Article Title

How to know where your visitors are coming from

Knowing where your visitors came from could be a really valuable information, and php allows us to get that information easily. This is how it’s done.

DZoneDiggDesign FloatDeliciousBlinklistRedditFacebookGoogle BuzzTwitterStumbleUponTumblrShare
$cameFrom = $_SERVER['HTTP_REFERER'];

It’s that easy, the $cameFrom variable will hold the information about the url where the visitor came from.

Follow TutsValley on Twitter, or subscribe to the TutsValley RSS feed if you want :) .

Related posts:

  1. Little app to help you code 10+ times faster
  2. TutsValley Redesigned

Slobodan Kustrimovic

This author has yet to fill his BIO.

Did you absolutely LOVE this article... share it!

Comments

Leave your own!

Sponsors

freedcamp free project management

Popular Articles

fzilla file hosting