PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi ,
I need a urgent Help regarding Php code which is based on automatic redirecting a url to affiliate url based on words in url.
this is the code i am using:
if it is always "?ie=UTF8&affiliate_id" and you want "?ie=UTF8&node=4068584031&affiliate_id" then you could just replace "affiliate_id" with "node=$node&affiliate_id".
Thanks for reply
But this node value keep on changing.actually i just want to achieve one simple thing if url doesnt have any "?"i need to place "?affiliateid" and if url has ? i just need to append "&affiliateid" at the end .
can u suggest the very simple method for this thing.
Problem is that the mylink i am getting itself doesnt contain the node i need someone to help me figure out why it is happening like that can some help me through gtalk?