salve, terza domanda per stasera
ho in una pagina questo codice:
<input type="file" name="thumbnail[0]">
<input type="file" name="thumbnail[1]">
<input type="file" name="thumbnail[2]">
<input type="file" name="thumbnail[3]">
<input type="file" name="thumbnail[4]">
come faccio a caricare online questi file?
$thumbnail = $_REQUEST['thumbnail'];
move_uploaded_file ($thumbnail[$addindex]['tmp_name']...)
così non va, ho provato anche con $_FILE ma mi da sempre errore
Undefined index: 0
Undefined offset: 0
e così fino a [4]
come si fa?