turbosatan Posted November 21, 2009 Share Posted November 21, 2009 I am trying to write a basic affiliate url tracking system. an affiliate will send a customer to a url at my website www.mysite.com/poarameter1/parameter2 etc etc what i want to do is when that url is recieved at my site i forward that user onto the final destination after making an entry into the db and dropping a cookie onto their machine. The area i am having trouble with is the rewrite of the url. basically parameter1 will be a url saved in the DB and param,eter 2 needs to be appended to the end of the resulting url so www.finalsite.com/?option=parameter2 should i just be able to add this as a get variable and then add it onto the resulting string? Link to comment https://forums.phpfreaks.com/topic/182408-url-redirect-code-with-parameter/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.