S1lv3rdo7
Regular Member
- Jul 17, 2010
- 486
- 325
I used the DMR script from this thread.
http://www.blackhatworld.com/blackh...0996-blank-referer-v2-0-meta-refresh-dmr.html
These two files are located in a directory with WordPress installed on it. I don't know if that has anything to do with it. I changed the files names to tracking and tracking 2. Here is the page code and the error.
PHP Error
Tracking.php
Tracking2.php
I don't know what's causing the header problem. Any help is appreciated!
http://www.blackhatworld.com/blackh...0996-blank-referer-v2-0-meta-refresh-dmr.html
These two files are located in a directory with WordPress installed on it. I don't know if that has anything to do with it. I changed the files names to tracking and tracking 2. Here is the page code and the error.
PHP Error
Code:
[B]Warning[/B]: Cannot modify header information - headers already sent by (output started at /home/silverdo/public_html/thepickupartistblog.com/tracking.php:1) in [B]/home/silverdo/public_html/thepickupartistblog.com/tracking.php[/B] on line [B]9[/B]
Tracking.php
Code:
<?php
$referer = $_SERVER['HTTP_REFERER'];
if($referer == "")
{
header("Location: http://www.mb01.com/lnk.asp?o=4990&c=57066&a=51894");
}else{
echo "<meta http-equiv=\"refresh\"content=\"0;url=http://thepickupartistblog.com/tracking2.php\">";
}
?>
Tracking2.php
Code:
<?php
$referer = $_SERVER['HTTP_REFERER'];
if($referer == "")
{
header("Location: http://www.mb01.com/lnk.asp?o=4990&c=57066&a=51894");
}else{
echo "<meta http-equiv=\"refresh\"content=\"0;url=http://google.com\">";
}
?>
I don't know what's causing the header problem. Any help is appreciated!