first commit

This commit is contained in:
2019-05-25 23:11:05 -04:00
commit 16f48376bc
6139 changed files with 990356 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
include("core/backend.php");
//include("core/medtrans_function.php");
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$in = $_POST;
$out = array();
$ret = $mobideliv->mobideliv_api($in, $out);
/*
$medT = new medtrans_function();
$ret = $medT->medtrans_api($mobideliv, $in, $out);
// $out = $in;
$ret = rand(1000,9999);
*
*/
$out['internal_return'] = $ret; // this is reserved array parameter - to be caprured and reoved before you use the out array()
foreach ($out as $key => $value) {
echo $key . "=" . base64_encode($value) . "\n";
}
} else {
echo "status=" . base64_encode("Invalid request method") . "\n";
}