ok

Mini Shell

Direktori : /proc/self/root/proc/self/root/home/keydecors/public_html/admin/controller/
Upload File :
Current File : //proc/self/root/proc/self/root/home/keydecors/public_html/admin/controller/video.php

<?php
//include database configuration file
include("../model/dboperation.php");
$video		= 	 mysqli_real_escape_string($mysqli , $_POST['video']);
 /*?>$p_price		 = 	 mysqli_real_escape_string($mysqli , $_POST['p_price']);<?php */

 /*$img1='';


if(!empty($_FILES["img1"]['tmp_name'])){
$temp1 = explode(".",$_FILES["img1"]["name"]);
$newfilename1 = rand(). "_".date('m-d-Y_hia') . '.' .end($temp1);
move_uploaded_file($_FILES['img1']['tmp_name'],"../pro_img/".$newfilename1);
$img1=$newfilename1;
}*/

$sql		 =   "INSERT INTO gallery_video(gallery_video)
					   			 VALUES	('$video')";	
if (!mysqli_query($mysqli,$sql)) {
  die('Error: ' . mysqli_error($mysqli));
}
																 

header("location:../pages/video_add.php?pro=$menu")
?>										  
										  				   

Zerion Mini Shell 1.0