It's long explanation as to why ... so here is the short version of the "what" needs to be acheived:
I have traffic coming in from various sources that are constantly changing. I run them all through one page:
which spits the visitors out to a varied selection of pages based on certain parameters using:
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: $locationtosend" );
once the right page for them has been found. What I need is for /js/out.php to also change the referring URl to being itself. That doesn't seem to be achievable using a PHP 301 redirect?
I need the $_SERVER['HTTP_REFERER'] to be /js/out.php for every landing page. Right now, it is the original referring site.