Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Ad Networks - CPA, CPM, CPL - Millionaire Makers..
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 02-02-2012, 03:40 AM   #1
Warrior Member
 
Join Date: Feb 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Multiple Sub ID Postback BLAMADS

Multiple Sub ID Postback BLAMADS,

Hi forum,

I created a website where users fill in a survey and than i get a postback from blamads that confirms the survey is filld in, but i need to get more info from the postback, now the sub_id is the users IP, that way i know that they filld in the survey but i also need 2 other IDs in the postback,

Example: ShareCash gets a User ID en a File ID in the postback.
and they are send back like this

User ID|||FileID
or: 938482|||59838

But i don't know how to post these in different columns

Also how do i script the vertical bar to put them in different columns in the database

Thank you.
Rubyx is offline   Reply With Quote
Old 02-02-2012, 04:01 AM   #2
Warrior Elite
 
Join Date: Jan 2012
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: Multiple Sub ID Postback BLAMADS

You can delimit the parameters, so subid=data1|data2|data3, the when you use the API to read off the subid, you need to parse the field (ie.take out the |) into the 3 variables to work with.

I don't understand the 2nd part of your question though.
act333 is offline   Reply With Quote
Old 02-02-2012, 07:19 AM   #3
Senior Warrior Member
 
ChrisBa's Avatar
 
Join Date: Jun 2008
Posts: 4,130
Thanks: 10
Thanked 508 Times in 402 Posts
Social Networking View Member's Twitter Profile 
Default Re: Multiple Sub ID Postback BLAMADS

I'm not really sure on how to do this with blamads, but your best bet is to contact your AM, this is exactly what they are there for

I'm Living MY DREAM Thanks to AFF PLAYBOOK! You Can Too!



Or Jump on the IM GRIND!
ChrisBa is offline   Reply With Quote
Old 02-02-2012, 08:38 AM   #4
Warrior Member
 
Join Date: Feb 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Multiple Sub ID Postback BLAMADS

Thanks alot chris i submitted a ticket on blamads and try contact my AM but hes never on and it takes like a month to get a reply on my ticket

But thanks alot!! really helpfull
Rubyx is offline   Reply With Quote
Old 02-02-2012, 09:58 AM   #5
Warrior Member
 
Join Date: Feb 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Multiple Sub ID Postback BLAMADS

Quote:
Originally Posted by act333 View Post
You can delimit the parameters, so subid=data1|data2|data3, the when you use the API to read off the subid, you need to parse the field (ie.take out the |) into the 3 variables to work with.

I don't understand the 2nd part of your question though.

Nvm that, but how do i insert Data1 , data2 and data3 in different columns in my database?
Rubyx is offline   Reply With Quote
Old 02-02-2012, 09:59 AM   #6
Warrior Member
 
Join Date: Feb 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Multiple Sub ID Postback BLAMADS

Quote:
Originally Posted by act333 View Post
You can delimit the parameters, so subid=data1|data2|data3, the when you use the API to read off the subid, you need to parse the field (ie.take out the |) into the 3 variables to work with.

I don't understand the 2nd part of your question though.

Nvm that 2nd part, but how do i insert Data1 , data2 and data3 in different columns in my database?

thanks alot!
Rubyx is offline   Reply With Quote
Old 02-02-2012, 10:11 AM   #7
Warrior Member
 
Join Date: Feb 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Multiple Sub ID Postback BLAMADS

Quote:
Originally Posted by act333 View Post
You can delimit the parameters, so subid=data1|data2|data3, the when you use the API to read off the subid, you need to parse the field (ie.take out the |) into the 3 variables to work with.

I don't understand the 2nd part of your question though.
i got like this script to insert the values of the postback in my database:
Quote:
mysql_query("INSERT INTO survey (sub_id, sub_id2, sub_id3) VALUES('".."', '".."', '".."') ON DUPLICATE KEY UPDATE '".."'='0'") or die(mysql_error());
that's kinda what i need but how do i put data1 in column of sub_id en data2 in column of data2 etc..

i cant figure it out,

thanks for helping me out, i appreciate it alot
Rubyx is offline   Reply With Quote
Old 02-03-2012, 10:53 PM   #8
Warrior Elite
 
Join Date: Jan 2012
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: Multiple Sub ID Postback BLAMADS

Quote:
Originally Posted by Rubyx View Post

that's kinda what i need but how do i put data1 in column of sub_id en data2 in column of data2 etc..
Do you mean data2 in column of sub_id2?
act333 is offline   Reply With Quote
Old 02-04-2012, 07:05 PM   #9
I'll Make You Rich
 
RyanEagle's Avatar
 
Join Date: Dec 2009
Location: Chicago, IL
Posts: 693
Thanks: 7
Thanked 94 Times in 76 Posts
Social Networking View Member's Myspace Profile  View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via AIM to RyanEagle
Default Re: Multiple Sub ID Postback BLAMADS

If you have any specific questions you should ask within our support desk or check the support desk area:

BLAM! Ads Support

RyanEagle is online now   Reply With Quote
Old 02-04-2012, 08:08 PM   #10
Enlightened Warrior
War Room Member
 
jaggyjay's Avatar
 
Join Date: Nov 2007
Location: New York, USA.
Posts: 612
Thanks: 23
Thanked 127 Times in 96 Posts
Default Re: Multiple Sub ID Postback BLAMADS

Hi Rubyx,

Your question is programming related and you'll be hard-pressed to find the right kind of help here. Perhaps a more techy forum like tek-tips.com or stackoverflow.com will be a better fit.

This is not to knock my fellow warriors. A lot on here are more than qualified to help - however, they probably will never see this post.

By the way, if all your data is being received from Blam in a pike-delimited string (the pike looks like this '|' ) - then you can use the php function "explode" to break it into an array of strings. The pike will be automatically stripped out in this way. You can then store your data using the indices of your new array.

Best,
- Jay

jaggyjay is offline   Reply With Quote
Old 02-05-2012, 05:38 AM   #11
Warrior Member
 
Join Date: Feb 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Multiple Sub ID Postback BLAMADS

Okay Thanks all, i will find it out!

Thanks alot for all the help
Rubyx is offline   Reply With Quote
Old 02-05-2012, 05:40 AM   #12
Warrior Member
 
Join Date: Feb 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Multiple Sub ID Postback BLAMADS

Quote:
Originally Posted by act333 View Post
Do you mean data2 in column of sub_id2?
yes thats what i mean.
Rubyx is offline   Reply With Quote
Old 02-06-2012, 04:08 AM   #13
Warrior Elite
 
Join Date: Jan 2012
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: Multiple Sub ID Postback BLAMADS

Quote:
Originally Posted by jaggyjay View Post
Hi Rubyx,

Your question is programming related and you'll be hard-pressed to find the right kind of help here. Perhaps a more techy forum like tek-tips.com or stackoverflow.com will be a better fit.

This is not to knock my fellow warriors. A lot on here are more than qualified to help - however, they probably will never see this post.

By the way, if all your data is being received from Blam in a pike-delimited string (the pike looks like this '|' ) - then you can use the php function "explode" to break it into an array of strings. The pike will be automatically stripped out in this way. You can then store your data using the indices of your new array.

Best,
- Jay
Yup, he provided that solution This is when you want to store multiple info into a subid so you can perhaps credit your subaff if you run an inventive site for eg.
act333 is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Ad Networks - CPA, CPM, CPL - Millionaire Makers..

Tags
blamads, multiple, postback

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 03:59 PM.