<?php include '../assets/config.php'; $commonController = new CommonController(); $data['id'] = base64_decode($_POST['id']); $data['path'] = $_POST['path']; $commonController->deleteGalleryPhoto($data);