hey, does anyone know how to get the refferer with javascript then pass it on to a php script for that to write to a text file? i got the php bit sorted i just need the java script bit to place in my .html to pass the vars to my php script
Code:
<!--
stats = "referrer=" + escape(window.document.referrer);
stats += "agent=" + escape(navigator.userAgent);
document.write('button.php' + stats +'">');
//-->







