I got the following error in my offer.php page(Redrect). I am not sure if it is because of my host. Code: 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 Plase help me to fix this issue.
Error in P202 Redirect page
8
I got the following error in my offer.php page(Redrect). I am not sure if it is because of my host.
Plase help me to fix this issue.
The LP Code:
My Offer.php code:
There is no white space after the closing php tag. I have also no idea what that notice is all about.
Thanks!
Code:
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:
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:
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!
- jcss
- [1] reply
- Cram
- [1] reply
- jcss
- jcss
- jcss
- ChrisBa
Next Topics on Trending Feed
-
8