Add files via upload

This commit is contained in:
Fernando Méndez
2021-06-08 15:10:08 +02:00
committed by GitHub
parent 880a74379f
commit ff7c9d103d
13 changed files with 32 additions and 28 deletions

View File

@ -12,7 +12,7 @@ class formEditFilm extends Form{
const EXTENSIONS = array('gif','jpg','jpe','jpeg','png');
public function __construct() {
$options = array("action" => "./?state=mf&option=e", 'enctype' => 'multipart/form-data');
$options = array("action" => "./?state=mf", 'enctype' => 'multipart/form-data');
parent::__construct('formEditFilm', $options);
}
@ -137,7 +137,7 @@ class formEditFilm extends Form{
<div class='column side'></div>
</div>
";
//$result = './?state=mf';
//$result = './?state=mf';
}else {
$result['img'] = 'El archivo tiene un nombre o tipo no soportado';