Ok, this is the code I'm using now, but it's still only passing the first variable:
PHP Code:
<?php
session_start();
$_SESSION["affiliatecode"] = htmlentities(trim(@$_REQUEST["affiliatecode"]));
$_SESSION["campaignID"] = htmlentities(trim(@$_REQUEST["campaignID"]));
$_SESSION["sourceBusID"] = htmlentities(trim(@$_REQUEST["sourceBusID"]));
$_SESSION["activityID"] = htmlentities(trim(@$_REQUEST["activityID"]));
?>
and then this code on the end of the link:
PHP Code:
&affiliatecode=<?php echo @$_SESSION["affiliatecode"]."&campaignID=".@$_SESSION["campaignID"]."&sourceBusID=".@$_SESSION["sourceBusID"]."&activityID=".@$_SESSION["activityID"];?>
I tried removing the @s from this, but it made no difference.
Bookmarks