43 lines
895 B
PHP
43 lines
895 B
PHP
<?php
|
|
//echo "[".date("Y-m-d H:i:s")."] Daily Report job is starting.\n";
|
|
include '../backend.php';
|
|
define('SAVVY_USER_CREATEACCOUNT', 22010);
|
|
|
|
function Fextension_call($in, &$out) {
|
|
// logToFl("Merchant_Name count->" . $in["merchant_name"]);
|
|
global $savvyext;
|
|
$out = $savvyext->savvyext_api($in);
|
|
$ret = $out["retval"];
|
|
return $ret;
|
|
}
|
|
|
|
$inX["username"] = "ses66181+".rand(1000,9999)."tst@gmail.com";
|
|
$inX["email"] =$inX["username"];
|
|
|
|
$inX["password"] = '12345678';
|
|
$inX["pid"] = '100';
|
|
|
|
$inX["firstname"] = 'Olu'.rand(100,999);
|
|
$inX["lastname"] = 'Amey';
|
|
|
|
$inX["loc"] = "192.168.1.1";
|
|
|
|
$inX["login"] = '1';
|
|
$inX["start_mode"] = 100;
|
|
|
|
$inX["action"] = SAVVY_USER_CREATEACCOUNT;
|
|
$outX=array();
|
|
|
|
|
|
$extension_call = true;
|
|
|
|
if ($extension_call == true ) {
|
|
// logToFl("merchant_name count->" . $res->merchant_name);
|
|
Fextension_call($inX, $outX);
|
|
}
|
|
|
|
print_r( $outX );
|
|
?>
|
|
|
|
|