note
Chris2323
I am the one who betrayed the monastry and believes that modules are not good until you are an advanced monk!
Try this without using modules:
$referer = $ENV{'HTTP_REFERER'};
print $referer;
The result will be the refering URL
21061
21061