On the URL shortener at DFT.BA, when a user visits a link we need the reffer header to be sent to the website we're directing too (For analytics etc.)
Currently the URL redirect code is
header("Location: {$Link['link_target']}");
header("Refer: http://dft.ba/");
header("Referer: http://dft.ba/");
//Fallback for older browsers
echo "<html><body><a href=\"{$Link['link_target']}\">Click To Go</a></body></html>";
($Link is the target URL)
This code isn't working, how do I set the refer properly?
-Sam