php and htaccess to pass values from one site to another
Author
Message
nordie
Junior Member
Joined: Thu Jul 20, 2006 1:19 am Posts: 1
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?
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum