php and htaccess to pass values from one site to another
Hi,
I'm not quite sure where to put this, but I need some help and its not a big job.
I currently have a script that takes a Keyword value from an adwords ad, that when clicked passes the keyword value to a landing page where it is embedded in an on-page link (which points to a merchant) via a short php script. Someone clicks on one of the links on my landing page, and the keyword value gets passed to the merchant site for tracking purposes. It uses a combination of a tiny php script and tiny htaccess file to achieve the pass-through.
I have modified the script so that the merchant URL on the landing page is disguised/simplified. When someone clicks the link on the landing page, there is a meta refresh redirect, and the person is taken to the actual merchant URL, with the keyword value passed on to the merchant URL.
My question is: Is it possible to use something other than a meta refresh redirect (preferably server side) to achieve the redirect, while at the same time passing the keyword value on to the merchant site.
I'm thinking this would be a straightforward coding exercise? If so, anyone interested in taking this on?
Thanks!
N~
|