Paying $5 for AdscendMedia Postback Help

Status
Not open for further replies.

Ace12

Senior
Original poster
senior
Joined
May 2, 2011
Posts
1,013
Reaction score
369
Points
91
Location
Toronto
Hey,

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
 

yoilovecash

Member
member
Joined
Jul 15, 2011
Posts
617
Reaction score
50
Points
31
Website
bit.ly
I need help with the same thing too :(

let me know if you ever know how please? :)
 
Status
Not open for further replies.