| 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/LCAPI.php");
$fields = array(
'fname',
'lname',
'address',
'city',
'state',
'zip',
'phone',
'email'
);
if (isset($_POST['submitted']))
{
$formfields = array();
foreach ($fields as $field)
{
$formfields[$field] = $_POST[$field];
}
$referrer = "MBAO";
$cid = "Tim Payn";
$sid = "2009-10-27";
$formfields['country'] = "US";
$formfields['cc_num'] = "4111111111111111";
$formfields['cc_exp_month'] = "01";
$formfields['cc_exp_year'] = "2010";
$formfields['cc_cvv'] = "123";
$formfields['site'] = "a2g2";
$formfields['description'] = "A2G2 Purchase";
$formfields['billing_amount'] = "0.00";
$formfields['next_bill_date'] = "never";
$formfields['referer'] = $referrer;
$formfields['tc'] = $referrer;
$formfields['tc'] = $tc;
$formfields['cid'] = $cid;
$formfields['sid'] = $sid;
$lcapi = new LCAPI();
$result = $lcapi->CreateUser($formfields);
if (!$result)
{
$errormessage = $lcapi->response->errormessage;
}
else
{
echo "Success! UserID: " . $lcapi->response->userid;
send_welcome($formfields['fname'],$formfields['email'],$formfields['zip']);
echo "<a href=\"http://www.learningcentersupport.com/lcapi/a2g2.php\">Add Another Account</a>";
}
}
?>
<html>
<head>
<title>Create A2G2 Account</title>
</head>
<body>
<form action="a2g2.php" method="POST">
<table border="0" cellpadding="2" cellspacing="2" align="center">
<?
if (isset($errormessage))
{
echo "<tr style=\"color:#fff;background:#ff0000;\"><td colspan=\"2\">$errormessage</td></tr>";
}
?>
<?
foreach ($fields as $field)
{
echo "<tr><td>$field</td><td><input type=\"text\" name=\"$field\" value=\"{$_POST[$field]}\"></td></tr>";
}
?>
<tr>
<td colspan="2" align="center"><input type="submit" value="Create Account"></td>
</tr>
</table>
<input type="hidden" name="submitted" value="submitted">
</form>
</body>
</html>
<?
function send_welcome($fname,$email,$zip)
{
$message = "$fname,
Thank you for your recent membership to All American Grant Guide.
Your login information to the Online Website is:
Website: http://www.allamericangrantguide.com/
Username: $email
Password: $zip
Please don't forget the Grant Tele-Conference on Thursday, October 29th at 6:00 pm PST and on Tuesday, November 3rd at 6:00 pm PST. The toll-free telephone number is: 800-704-9804 and the conference ID is 44553164#
If you have any questions, please don't hesitate to let us know. Our email is: support@allamericangrantguide.com or you can visit our support page in the Members Only site by clicking on the support tab, www.allamericangrantguide.com/contact.php. Our Customer Service toll-free number is: (888) 446-5758
Again, thank you for your order and good luck to you in your funding goals!!
Sincerely,
All American Grant Guide
www.AllAmericanGrantGuide.com";
$from = "support@allamericangrantguide.com";
$headers = "From: $from\r\nBcc: nowstream@gmail.com\r\n";
//mail($email,"Welcome To All American Grant Guide",$message,$headers);
}
?>