shell bypass 403
<?php include('../config/config.php'); $direc_name = $_POST['direc_name']; $direc_posi = $_POST['direc_posi']; $im_cover = $_FILES['file']['tmp_name']; $images1 = $_FILES['file']['tmp_name']; $images_name1 = $_FILES['file']['name']; $images = "images/direc/".$images_name1; move_uploaded_file($_FILES['file']['tmp_name'],"../images/direc/".$_FILES["file"]["name"]); $sql = "INSERT INTO directors (d_name,d_postion,d_image) VALUE ('".$direc_name."','".$direc_posi."','".$images."')"; $res = $conn->query($sql); if($res === TRUE){ echo 1; }else{ echo 0; } ?>