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.

  • DZone
  • Digg
  • Design Float
  • Delicious
  • Blinklist
  • Reddit
  • Facebook
  • Google Buzz
  • Twitter
  • StumbleUpon
  • Tumblr
  • Share/Bookmark
$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

Slobodan Kustrimovic

This author has yet to fill his BIO.

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

Comments

Leave your own!

Sponsors

fzilla file hosting

Popular Articles