| 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/api/IWBClubAPI.php");
$fields = array(
'fname',
'lname',
'address',
'city',
'state',
'zip',
'country',
'phone',
'email',
'cc_num',
'cc_exp_month',
'cc_exp_year',
'cc_cvv',
'site',
'description',
'billing_amount',
'next_bill_date',
'referer',
'tc',
'sid',
'cid',
'ipaddress'
);
if (isset($_POST['submitted']))
{
$formfields = array();
foreach ($fields as $field)
{
$formfields[$field] = $_POST[$field];
}
$formfields['iwb_leadSourceId'] = '29';
$formfields['iwb_marketerId'] = '18472';
$lcapi = new IWBClubAPI();
$result = $lcapi->CreateUser($formfields);
if (!$result)
{
$errormessage = $lcapi->lasterror;
}
else
{
echo "Success! UserID: " . $result;
exit();
}
}
?>
<html>
<head>
<title>Test Page for IWBClub</title>
</head>
<body>
<form action="testIWBAPI.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>