Posto anche il codice così magari qualcuno sa darmi una dritta. Sono veramente disperata:
PANNELLO FOTO
<form enctype="multipart/form-data" name="pannello_foto" action="insert_foto.php" method="post" >
<fieldset>
<Legend> Upload Immagine</Legend>
<table border="0" cellspacing="2" cellpadding="5">
<tr>
<td><label>Immagine<input type="file" tabindex="7" name="img1"></label></td>
</tr>
</table>
</fieldset>
<fieldset>
<legend>Upload/Reset</legend>
<table border="0" cellspacing="2" cellpadding="5">
<tr>
<td><input tabindex="8" type="submit" name="submit" value="Inserisci"></td>
<td><input tabindex="9" type="reset" name="reset" value=" Reset "></td>
</tr>
</table>
</fieldset>
</form>
INSERT_FOTO
<?php
include("connect.php");
$nome=strtr($img1, "\\", "/");
$foto=basename($nome);
if ($img1_name != "") {
copy($img1 , "/tasti/img/$foto")
or die("Couldn't Upload Your File.");
} else {
die("<a href=pannello_a.php>['Non è stato selezionato alcun file - Torna al Pannello principale']</a>");
}
?>