| Server IP : 172.67.216.113 / Your IP : 104.23.243.32 [ Web Server : Apache System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64 User : cp648411 ( 1354) PHP Version : 7.2.34 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/cp648411/www/simded.com/mybackend/payment_alert/ |
Upload File : |
<?php require_once("../include/class.php");?>
<?php include("table_name.php");?>
<?php
/*echo '<pre>';
print_r($_POST);
echo '</pre>';
*/
$ymd = $util_class->day_Ymd2($_POST['dmy']);
$daytime = $ymd . ' ' . $_POST["d_h"].':'.$_POST["d_i"].':'.$_POST["d_s"];
if($_FILES["file"]["error"] == 0)
{
$name_img = $image_class->image_re($_FILES["file"],$name_folderimg,$wide_img,$upload);
}
$list = array(
'table'=>$name_table,
'id_shop'=>"'".@$_POST['idshop']."'",
'bank_id'=>"'".@$_POST["bank"]."'",
'month'=>"'".@$_POST["day"]."'",
'price'=>"'".@$_POST["amount"]."'",
'time'=>"'".@$daytime."'",
'file'=>"'".@$name_img."'",
'status'=>'1',
'createdate'=>"'".$date."'"
);
$add = $actiondata_db->add_db($list);
/*print_r($add);
exit;*/
$_SESSION['er'] = 'true';
if( $add['suc'] <> 1)
{
$_SESSION['er'] = 'false';
}
?>
<meta http-equiv="refresh" content="0;URL=list.php">
<?php
exit;
?>