Anyone know if it is possible to convert another affilaite's NATS encoded ID to the unencoded version?
Any way to decode a NATS ID?
Collapse
X
-
Tags: None
-
http://www.grouchyadmin.com/natsdecode/
Yes, it's possible. It's just a base64 value with the terminators stripped. -
Thanks, so I put in my encoded NATS user name and got a number back, what do I need to do to that number to get my NATS user name?Comment
-
Comment
-
i think he wants to convert the NTkyMDozOjEw to his username, and without the sponsor database it is not possible because the NTkyMDozOjEw is created when the user creates the affiliate account and each sponsor has their own database
so, I could have NTkyMDozOjEw with occash.com and someone else could have NTkyMDozOjEw with insertcashnamehere.com....all though it is pretty improbable that anyone would have NTkyMDozOjEw again, but definitely possibleComment
-
When I put in my code I get 26:6:1. What is the 26?http://www.grouchyadmin.com/natsdecode/
Yes, it's possible. It's just a base64 value with the terminators stripped.
The 6 is the program and 1 is the site id. But the 26 from what I know has nothing to do with me as a WM or anything in my backend to associate with anything Yappo/YappoDollars.Comment
-
Yeah that is what I wanted, oh well.i think he wants to convert the NTkyMDozOjEw to his username, and without the sponsor database it is not possible because the NTkyMDozOjEw is created when the user creates the affiliate account and each sponsor has their own database
so, I could have NTkyMDozOjEw with occash.com and someone else could have NTkyMDozOjEw with insertcashnamehere.com....all though it is pretty improbable that anyone would have NTkyMDozOjEw again, but definitely possible
Is it not the database ID of the account? If not, probably the database ID is derived from it somehow.Comment
-
function get_nats_info($decode){
$chars = strlen($decode);
$add = 4 - ($chars % 4);
if ($add < 4) while($add--) $decode .= '=';
list($campaignid, $programid, $siteid) = explode(':', base64_decode($decode));
return $campaignid . ' : '.$programid.' : '. $siteid;
}
the "26" in your example is the defualt campain id for that webmaster account
if the site uses "un-encoded" nats codes look for that ...
the format is USERNAME;26:SITE_SHORT_NAME:PROGRAM_SHORTNAMEProgrammer looking for work you can hit me here -> Master Web Monkey or ICQ 281945544
PHP mySQL Flash ActionScript3 html javascitpt PERL::MECINIZE expect NATS MPA3 Responsys InteractComment
-
sorry that should have read
USERNAME:PROGRAM_SHORTNAME:SITE_SHORT_NAME
USERNAME;(campainid):PROGRAM_SHORTNAME:SITE_SHORT_ NAMEProgrammer looking for work you can hit me here -> Master Web Monkey or ICQ 281945544
PHP mySQL Flash ActionScript3 html javascitpt PERL::MECINIZE expect NATS MPA3 Responsys InteractComment
-
I guess everything's already been properly answered.
But, no, as stated, without the mapping of accountid to account, and programid to program you can not convert someone else's data accurately.Comment

AIM: GrouchyGfy
Comment