Check Referrer

This checks if the referrer is from the site you expect it to be.

Usage

if (check_ref('etogre.com')) // they came from etogre.com
die('We love you =^_^= !');
else
die('We hate you -_- !');

 

Comments

Posted on 28.08.2009 21:10 by guest

Nice!