PHP affiliate redirect script

IN PROGRESS
Bids
6
Avg Bid (USD)
$46
Project Budget (USD)
$30 - $100

Project Description:
I need a url.php script which does the following.

When I link:
url.php?go=http://www.merchant.com/product.html

It must redirect to: http://track.affiliatenetwork.com/?AID=111&MID=222&redirect=http://www.merchant.com/product.html?utm_source=AAA&utm_medium=BBB

http://track.affiliatenetwork.com/?AID=111&MID=222&redirect= and ?utm_source=AAA&utm_medium=BBB remain same for a affiliate network.


I must be able to link multiple merchants to multiple affiliate networks example:
if http://www.merchant.com/ANY-DEEP-LINK then redirect http://track.affiliatenetwork.com/?AID=111&MID=222&redirect=http://www.merchant.com/ANY-DEEP-LINK?utm_source=AAA&utm_medium=BBB

if http://www.ANOTHER-MERCHANT.com/ANY-DEEP-LINK then redirect http://track.ANOTHER-AFFILIATE-NETWORK.com/?AID=111&MID=222&redirect=http://www.ANOTHER-MERCHANT.com/ANY-DEEP-LINK?utm_source=AAA&utm_medium=BBB

if merchant affiliate link not found redirect directly

some affiliate networks require encoding
if http://www.MERCHANT3.com/ANY-DEEP-LINK then redirect with encoding http://track.AFFILIATE-3.com/?AID=111&MID=222&redirect=http%3A%2F%2Fwww.ANOTHER-MERCHANT.com%2FANY-DEEP-LINK%3Futm_source%3DAAA%26utm_medium%3DBBB

Skills required:
Affiliate Marketing, PHP, Wordpress
Qualifications required:
us_eng_1 US English - Level 1
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 55
in 2 days
Hire hoangpn
$ 45
in 1 days
$ 49
in 1 days
$ 60
in 7 days
Hire freelanceroj
$ 35
in 0 days
$ 30
in 0 days