-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /var/www/html/zbk_admin.220809/php/gift/
File Upload :
Current File : /var/www/html/zbk_admin.220809/php/gift/act.insert.php

<?
if ( empty($_POST['title']))	script_re ( $total['cmnall'] , ' ÇʼöÇ׸ñÀ» ÀÔ·ÂÇØÁÖ¼¼¿ä ' ) ;

// upload img
if ( !empty($_FILES['img1']['name'])) {
	$upimg = file_upload( $_FILES['img1']['tmp_name'] , $_FILES['img1']['name'] , 'files/' . $total['table'] . '/' . $total['options']['dir'] ) ;
}
$action = array(
	'keycode'		=> $total['code'] ,
	'title'				=> str_convert($_POST['title']) ,
	'seq'				=> ( is_numeric($_POST['seq']) ? $_POST['seq'] : 1 ) ,
	'img1'			=> $upimg
) ;
$exe->qry_insert($action , "tbl_{$total[table]}");

script_re ( $total['cmnurl'] , 'µî·ÏµÇ¾ú½À´Ï´Ù.') ;

?>

Copyright © 2017 || Recoded By Mr.Bumblebee