Posted By


xtine777 on 01/04/11

Tagged


Statistics


Viewed 1012 times
Favorited by 0 user(s)

Check if visitor was refered by Google


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php
  2. $_ref = $_SERVER['HTTP_REFERER'];
  3. if (eregi('google\.', $_ref)){
  4. echo "Besucher von Google gesendet";
  5. }
  6. ?>

URL: http://www.php-kurs.info/tutorial-google_referer_auslesen.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.