//INFUSIONSOFT $connInfo = array('main:mojo:i:679c2a2a6aef93984f48e3ec4794db26:Mojo Video'); $infusion = new iSDK(); $infusion->cfgCon("main"); //*================= //* WISHLIST //*================= //WISHLISTMEMBER $wishlist = new wlmapiclass('http://www.mojoleadmastery.com/members', 'LXbfqw59CFNUWaexLXbfqw59CFNUWaex'); $wishlist->return_format = 'php'; // <- value can also be xml or json //*=============================== //* GET USER INFORMATION FROM IS //*=============================== $fields = array('FirstName', 'LastName', 'Email', 'Phone1', 'Company', 'Username', 'Password'); $IS_DATA = $infusion->dsLoad("Id", $order_id, $fields); print_r($IS_DATA); //*============================================== //* POST TO MOJO Lead Mastery //* http://mojoleadmastery.com/ //*============================================== //SET LEVEL //if($level == 'MLMMonthly') //{ // $wllevels = array("1409152379"); //mojo full // $member= 'Mojo Lead Mastery'; //} // //else if($level == 'MLMYearly') //{ // $wllevels = array("1409698826"); //mojo annual