Hi all,

I'm thinking this can't be done but then again almost anything is possible
so I'm hoping some Guru can give me some direction.

The company I work with drives traffic to our clients' websites to increase
their sales. We do search term research and find terms that our clients
overlook.

When some searches for these terms and clicks on the link they are sent to a
php script on our server which then is responsible for stripping out the
search term from the 'referer' environment variable and then continuing to
our client's website.

The only way I was able to 'zap' the 'referer' information was to place a
javascript redirect or form submit in our php script. Unfortunately a
requirement of the search service we work with is that searchers need to be
able to hit the 'back' button to return to the original search page so the
javascript solution is out. The php header function however redirects
without a hitch.

Does anyone know if there is a way to change the referer information prior
to using php's header function? I've tried things like:

header("Referer: $referer");

where the $referer variable holds the original referer minus the search term
without luck.

Any help would be greatly appreciated.

Thanks so much,

Guy Davis



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to