| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/usa_sites/pcisecureform.com/lcapi/ |
Upload File : |
<?
require_once("{$_SERVER["DOCUMENT_ROOT"]}/lcapi/inc/UserSignup.php");
require_once("{$_SERVER["DOCUMENT_ROOT"]}/lcapi/inc/Logger.php");
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* See https://learningcentersupport.com/efn_api.php for reference to
* old eFamily Network Documentation.
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
//Override Passed Parameters for Grant Funding Source
$_REQUEST['site'] = 'gfs';
$_REQUEST['billing_amount'] = (isset($_REQUEST['billing_amount']) && $_REQUEST['billing_amount'] != '') ? $_REQUEST['billing_amount'] : '0.00';
$_REQUEST['rebill_amount'] = (isset($_REQUEST['rebill_amount']) && $_REQUEST['rebill_amount'] != '') ? $_REQUEST['rebill_amount'] :'0.00';
$_REQUEST['next_bill_date'] = 'never';
SendDebug("CreateUser.php");
$user = new UserSignup();
$result = $user->LoadUser();
if (!$result)
{
SendError("CreateUser.php::LoadUser()",$user->lasterror);
die("Failure: " . $user->lasterror);
}
if ($user->leadid == "")
{
$result = $user->CreateLead();
if (!$result)
{
SendError("CreateUser.php::CreateLead()",$user->lasterror);
die("Failure: Unable to create lead. " . $user->lasterror);
}
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Do Not Bill GFS Customers! eFamily Network handles this.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * */
$result = $user->CreateAccount();
if (!$result)
{
$error = $user->lasterror;
SendError("CreateUser.php::CreateAccount()",$error);
die("Failure: Unable to create user account. " . $error);
}
// If we got here then everything is good!
// Send them their welcome email only if eFamily wants us to!
$sendemail = ($_REQUEST['sendemail'] == 'no') ? 'no' : 'yes';
if ($sendemail == 'yes')
{
$user->SendWelcomeEmail();
}
die("Success: " . $user->userid);
?>