Hey,
I need some help with AdscendMedia postback. I found this code on Warrior Forums and need some help on how to use it.
So I have made a postback.php file and uploaded it on my website. In adscendmedia added this for postback:
The only part I need help with is for example 'John' logins and completes an offer - How would I display to him which offer has credited and how much money he has earned.
Any help will be greatly appreciated.
Kind Regards,
Ace.
Bump
/10 char
I need some help with AdscendMedia postback. I found this code on Warrior Forums and need some help on how to use it.
Code:
<?php
$adscendIp = "72.52.162.102" || "199.59.164.3" || "199.59.164.5"; // ip for adsccend
if($_SERVER['REMOTE_ADDR'] != $adscendIp)
{
die("Access Denied!");
}
$campid = $_GET['OID']; // ID number of the campaign credited
$sid = $_GET['SID']; // The SubID that was passed in the campaign link
$rate = $_GET['PAY']; // Commission earned (Will be negative if status is revoked)
$status = $_GET['STS']; // Status of the lead. 1 for payable, 2 for revoked
$name = $_GET['ONM']; // Name of the campaign
$ip = $_GET['IP']; // IP address of the user
if($status == "1")
{
// MySQL Query to Update User Points
}
else
{
die("Revoked Lead!");
}
?>
So I have made a postback.php file and uploaded it on my website. In adscendmedia added this for postback:
Code:
http://xxxxxx.com/postback.php?campid=[OID]&name=[ONM]&rate=[PAY]&sid=[SID]&status=[STS]&ip=[IP]
The only part I need help with is for example 'John' logins and completes an offer - How would I display to him which offer has credited and how much money he has earned.
Any help will be greatly appreciated.
Kind Regards,
Ace.
Bump
/10 char