nn abbandonarmi.
io nn credo che il problema sia nel file.ini, forse c'è un errore all'interno del form:
Il FORM:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Documento senza titolo</title>
</head>
<body>
<h1>upload da file</h1>
<form method="Post" action="effettua_upload.php" Enctype="multipart/form-data">
file da trasferire:
<input type="file" Name="img1" Size="30">
</p>
<INPUT TYPE ="submit" name="invio" Value="Effettua l'upload"></p>
</form>
</body>
</html>
effettua_upload.php
<?
if ($img1_name != "") {
@copy("$img1", "C:/Inetpub/wwwroot/francesco/images/$img1_name")
or die("Impossibile copiare il file.");
} else {
die("Non è stato indicato alcun file da trasferire");
}
?>
<HTML>
<HEAD>
<TITLE>Upload del file eseguito con successo</TITLE>
</HEAD>
<BODY>
<H1>Upload riuscito!</H1>
Avete trasferito il file: <? echo "$img1_name"; ?>, di <? echo "$img1_size"; ?>
byte e di tipo "mime" <? echo "$img1_type"; ?>.</P>
</BODY>
</HTML>
pensi sia qui il problema??

Rispondi quotando