Hey guys!

Just wanna ask you a simple question.

How do I use the value of variable #2?
Let me explain.

The company I use gives me 2 variable values that i can capture.
SEARCHTEXT and PARTNERID

So this is the link I use:
http://doubleyourctr.com/offer1.php?searchvalue=SEARCHTEXT?partnervalue=PARTNERID

And this is the code in that php file:

<?php
$var = $_GET["searchvalue"];
?>
<?php header("Location: http://www.lynxtrack.com/afclick.php?o=7560&b=ft9z13pz&p=9136&l=1&s=$var"); ?>

I know how to add the "searchvalue" at the end of the url - but how do I add the "partnervalue" ??

Hope you know how to do it..
Thanks a ton of your time!!

Shariq.

Recommended Answers

All 4 Replies

That will work but I would add something like an underscore to separate the two values. The page that parses the url will have to "GET" the variable s. Since it's actually two variables, you should set some type of delimiter to separate them.

That will work but I would add something like an underscore to separate the two values. The page that parses the url will have to "GET" the variable s. Since it's actually two variables, you should set some type of delimiter to separate them.

thanks a ton man!!

God bless ya :-)

Shariq

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.