Whats up everybody. I noticed a HUGE discrepancy between the number of visitors prosper showed vs the spending taking place on LI yesterday. So today I started a campaign from scratch and this is what I found...
I ran a campaign for 3 minutes.
On prosper in 3 minutes I had 34 views.
I bid one keyword, games.com, where I am 1 of 2 bidders at a max of .02 cents per view.
In the same 3 minutes I was charged $5.28 which comes to 264 views.
W T F?
Details on the campaign...
The campaign was built from scratch in prosper (all new tracking links).
I bait and switched with a campaign I already had in LI.
Coincidentally I have 150 deactivated keywords in that LI campaign. I use that campaign to watch bidding on keywords. Some were once approved, most have never been activated.
The lander is an index.php file with 1 image as a background and a form with name/email/submit button on it.
The form sends the info via the php to my email then forwards to a redirect then the offer.
I've double checked everything twice...so ummm...not sure whats going on. Gonna start everything from scratch again.
Also, ive run traffic targeting games.com before and 34 views in 3 minutes sounds about right. 264 views?...not in my experience...
I can't run it by LI yet because I bait and switched. Thinking of putting a legit campaign up and testing it again.
Are you on shared hosting?
Beyond Hosting VPN.
buuuuuut, im pretty sure Im an idiot now...lol.
I replaced my lander with one that has a single line of text and the lp tracking link...the $$$ from LI matches the views in P202 perfectly.
So it must have something to do with the lander that is screwing up the tracking. The lander is an index.php file that is simply an image and a form. I used the "form wizard" in WYSIWYG to send the name/email inputs to my email. The only other script I have is a disable right click script.
Do php files and tracking links not work well together? How do you guys collect emails/names?
Can't help you there. Never collected a single email in my life. <---BAD AFFILIATE!
My hunch is that WYSIWYG added a wierd character or something in to the code that is causing the issue.
<?php
function ValidateEmail($email)
{
$pattern = '/^([0-9a-z]([-.\w]*[0-9a-z])*@(([0-9a-z])+([-\w]*[0-9a-z])*\.)+[a-z]{2,6})$/i';
return preg_match($pattern, $email);
}
if($_SERVER['REQUEST_METHOD'] == 'POST')
{
$mailto = 'fakeemail@gmail.com';
$mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto;
$subject = 'profile.spy';
$message = 'Values submitted from web site form:';
$success_url = './page1.html';
$error_url = './page2.html';
$error = '';
$eol = "\n";
$max_filesize = isset($_POST['filesize']) ? $_POST['filesize'] * 1024 : 1024000;
$boundary = md5(uniqid(time()));
$header = 'From: '.$mailfrom.$eol;
$header .= 'Reply-To: '.$mailfrom.$eol;
$header .= 'MIME-Version: 1.0'.$eol;
$header .= 'Content-Type: multipart/mixed; boundary="'.$boundary.'"'.$eol;
$header .= 'X-Mailer: PHP v'.phpversion().$eol;
if (!ValidateEmail($mailfrom))
{
$error .= "The specified email address is invalid!\n<br>";
}
if (!empty($error))
{
$errorcode = file_get_contents($error_url);
$replace = "##error##";
$errorcode = str_replace($replace, $error, $errorcode);
echo $errorcode;
exit;
}
$internalfields = array ("submit", "reset", "send", "captcha_code");
$message .= $eol;
$message .= "IP Address : ";
$message .= $_SERVER['REMOTE_ADDR'];
$message .= $eol;
foreach ($_POST as $key => $value)
{
if (!in_array(strtolower($key), $internalfields))
{
if (!is_array($value))
{
$message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol;
}
else
{
$message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol;
}
}
}
$body = 'This is a multi-part message in MIME format.'.$eol.$eol;
$body .= '--'.$boundary.$eol;
$body .= 'Content-Type: text/plain; charset=ISO-8859-1'.$eol;
$body .= 'Content-Transfer-Encoding: 8bit'.$eol;
$body .= $eol.stripslashes($message).$eol;
if (!empty($_FILES))
{
foreach ($_FILES as $key => $value)
{
if ($_FILES[$key]['error'] == 0 && $_FILES[$key]['size'] <= $max_filesize)
{
$body .= '--'.$boundary.$eol;
$body .= 'Content-Type: '.$_FILES[$key]['type'].'; name='.$_FILES[$key]['name'].$eol;
$body .= 'Content-Transfer-Encoding: base64'.$eol;
$body .= 'Content-Disposition: attachment; filename='.$_FILES[$key]['name'].$eol;
$body .= $eol.chunk_split(base64_encode(file_get_contents($_FILES[$key]['tmp_name']))).$eol;
}
}
}
$body .= '--'.$boundary.'--'.$eol;
mail($mailto, $subject, $body, $header);
header('Location: '.$success_url);
exit;
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
whats the permssions of your files, the php code redirect to somewhere before display your html code, look like you've been hijacked.
<div id="wb_Form1" style="position:absolute;left:463px;top:255px;width:304px;height:120px;z-index:6;"> <form name="contact" method="post" action="<?php echo basename(__FILE__); ?>" enctype="multipart/form-data" id="Form1">
put your functions into another php files