SW/panel_admin/add_film.php
Daniel Muñoz Garcia 19168d2f8d
Add files via upload
2021-04-13 13:50:23 +02:00

13 lines
458 B
PHP

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