I'm having an issue passing on keywords through the Tracking202 landing page rotator script.
So, I have this in the script:
site.com/rotate.php?t202id=789&t202kw=BLUE GREEN RED
...only the text BLUE gets forwarded to any of the landing pages I'm rotating between. It doesn't pass along the GREEN RED string (which is the rest of the keyword string).
This is my own modified code, as the original LP rotator script doesn't even pass along the t202kw to the landing pages (I tested this first). Only when I added the $_GET function at the end of the include_once line do I get anything passed along.
The problem is, it cuts off at the first space in the long tail keyword passed and only sends the first whole word. I just can't figure out what the heck I'm doing wrong.. :ugone2far:
Any help is appreciated - thanks!
So, I have this in the script:
And then at the end of the script I have this:$landingpage[1] = 'http://site.com/landing01.php?t202id=123&t202kw=';
$landingpage[2] = 'http://site.com/landing02.php?t202id=456&t202kw=';
But when I call my rotating script, like this://include the landing page
include_once($landingpage[$lpNumber].str_replace("-", " ", $_GET["t202kw"]));
site.com/rotate.php?t202id=789&t202kw=BLUE GREEN RED
...only the text BLUE gets forwarded to any of the landing pages I'm rotating between. It doesn't pass along the GREEN RED string (which is the rest of the keyword string).
This is my own modified code, as the original LP rotator script doesn't even pass along the t202kw to the landing pages (I tested this first). Only when I added the $_GET function at the end of the include_once line do I get anything passed along.
The problem is, it cuts off at the first space in the long tail keyword passed and only sends the first whole word. I just can't figure out what the heck I'm doing wrong.. :ugone2far:
Any help is appreciated - thanks!