Page 1 of 1

please help, optin page tracking code

Posted: Tue Nov 03, 2009 8:57 pm
by charlesra
ello

can you help with this coding?


I have an optin -> process.php -> thankyou.html


optin is http://<span style='color:red;text-decoration:blink' title='Alert a moderator!'>grilled spam</span>.com


process.php is http://<span style='color:red;text-decoration:blink' title='Alert a moderator!'>grilled spam</span>.com/process.php


thank you page is http://<span style='color:red;text-decoration:blink' title='Alert a moderator!'>grilled spam</span>.com/thankyou.html


optin page has the T202 script for the keyword capture from PPV(pay per view) networks


process page captures the keyword that converted the optin and sends to the thank you page


this is the problem


when process.php sends the viewer to the thank you page

i get this on the browser

http://<span style='color:red;text-decoration:blink' title='Alert a moderator!'>grilled spam</span>.com/thankyou.html&kw=

and this gets me an error on the page


how can i get around this?


thank you


here is the process.php file


<?php

header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' );

header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );

header( 'Cache-Control: no-store, no-cache, must-revalidate' );

header( 'Cache-Control: post-check=0, pre-check=0', false );

header( 'Pragma: no-cache' );


$kw = $_REQUEST['keyword'];


$cookie_life = time() + 31536000;

$path = '/';

$hostname = '.yourfatlossfast.com';


setcookie ("kw", "$kw", $cookie_life, $path, $hostname);

setcookie ("aid", "$aid", $cookie_life, $path, $hostname);

setcookie ("tid", "$tid", $cookie_life, $path, $hostname);

setcookie ("cid", "$cid", $cookie_life, $path, $hostname);


$url = "http://<span style='color:red;text-decoration:blink' title='Alert a moderator!'>grilled spam</span>.com/thankyou.html&kw=$kw";

header("Refresh: 0; URL=$url");

echo " "; // NN4 requires that we output something...exit();

?>

<html>

<head>

<title>Connecting...</title>

</head>

<body>

<p>&nbsp;</p>

<p align="center"><font size="2" face="Arial, Helvetica, sans-serif">Connecting...</font></p>

<p align="center"><font size="2" face="Arial, Helvetica, sans-serif">If this page appears for more than

5 seconds, please <a href="http://<span style='color:red;text-decoration:blink' title='Alert a moderator!'>grilled spam</span>.com/thank ... ;?>">click here</a>.</font></p>

</body>

</html>


i would really appreciate your help

thank you.