Error in P202 Redirect page
Notice: Undefined index: tracking202pci in offer.php on line 15 Warning: Cannot modify header information - headers already sent by (output started at offer.php:15) in offer.php on line 18
The LP Code:
<!DOCTYPE html>
<html>
<head>
<title>CPA Offer</title>
</head>
<body>
<p><a href="offer.php">Grab Your Free Stuff!</a></p>
<script language="JavaScript" type="text/javascript"> cbr202=Math.random()*10000000000000000;document.write('<scr'+'ipt language="JavaScript" src="http://www.domain.com/tracking202/static/landing.php?lpip=641&202cb='+cbr202+'" type="text/javascript"></scr' + 'ipt>'); </script>
</body>
</html> My Offer.php code:
<?php
// -------------------------------------------------------------------
//
// Tracking202 PHP Redirection, created on Sun Oct, 2013
//
// This PHP code is to be used for the following landing page.
// http://www.domain.com/index.html
//
// -------------------------------------------------------------------
if (isset($_COOKIE['tracking202outbound'])) {
$tracking202outbound = $_COOKIE['tracking202outbound'];
} else {
$tracking202outbound = 'http://www.domain.com/tracking202/redirect/lp.php?lpip=641&pci='.$_COOKIE['tracking202pci'];
}
header('location: '.$tracking202outbound);
?> Thanks!
$ POPS GUIDE - YOUR FIRST CONVERSION GUARANTEED! $