Jump to content

Warning: Header may not contain more than a single header, new line detected.


happyboating

Recommended Posts

Hey..

 

I keep getting this error:

 

Warning: Header may not contain more than a single header, new line detected. in /hermes/bosweb/web011/b117/ipw.awdevore/public_html/vertical/guide.php  on line 18

 

Here is first part of page code:

<?
$referrer = $_SERVER['HTTP_REFERER'];

$referrer =  str_replace("http://","", $referrer);

$referrer =  str_replace("https://","", $referrer);

$referrer = urlencode($referrer);

if(!$referrer) $referrer="Unknown";
$test = $_GET['test'];

if(!$_GET['apflag'] &
$test!=1) header("Location: http://downloadablemusicfree.net/AP/go.php?uid=1&
cid=2&
apflag=1&
referrer=$referrer&
".$_SERVER['QUERY_STRING']); 
$trackingid = $_REQUEST["apid"];

if(!$v) $v = $_COOKIE["v"];

Try this

 

<?
$referrer = $_SERVER['HTTP_REFERER'];

$referrer =  str_replace("http://","", $referrer);

$referrer =  str_replace("https://","", $referrer);

$referrer = urlencode($referrer);

if(!$referrer) $referrer="Unknown";
$test = $_GET['test'];

if((!$_GET['apflag'] & ($test!=1) )
{
header("Location: http://downloadablemusicfree.net/AP/go.php?uid=1&cid=2&apflag=1&referrer=$referrer&".$_SERVER['QUERY_STRING']); 
}
$trackingid = $_REQUEST["apid"];

if(!$v) $v = $_COOKIE["v"];

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.