SW/panel_admin/delete_film.php
Daniel Muñoz Garcia 5a5a99ad80
Complete functionality
Missing elements of design and security
2021-04-13 14:57:25 +02:00

12 lines
403 B
PHP

<?php
session_start();
include_once('./includes/film_dto.php');
include_once('./includes/formFilm.php');
if($_REQUEST['confirm_delete_film']) {
$film = new FormFilm();
$film->processesForm($_REQUEST['id'],null,null,null,null,"del");
$_SESSION['message'] = $film->getReply();
}
header("Location: ../panel_admin/index.php?state=mf");
?>