17 lines
584 B
PHP
Executable File
17 lines
584 B
PHP
Executable File
<?php
|
|
$nomFicAppelant = basename(__FILE__);
|
|
// -----------------------------------------------------
|
|
// Upload
|
|
// -----------------------------------------------------
|
|
if ($_FILES['fileToUpload' .$theIdLiv]!='') {
|
|
$_FILES['fileToUpload']=$_FILES['fileToUpload' .$theIdLiv];
|
|
$target_dir = "../Design/_icones_web/";
|
|
$targetExtension =['jpeg', 'jpg', 'png', 'svg', 'bmp', 'gif'];
|
|
$targetSize ='5242880'; //5 Mo
|
|
$largeurMax = 0;
|
|
$hauteurMax = 0;
|
|
$largeurMin = 0;
|
|
$hauteurMin = 0;
|
|
include ($includePathAdmin. "/_fonctions/uploadGenerique.php");
|
|
}
|
|
?>
|