Jump to content

URL redirect code with parameter


turbosatan

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.