Ho creato questo script


<link rel="stylesheet" href="../prova/css/styles.css" type="text/css">

<style type="text/css">
<!--
body {
background-color: #FFFFFF;
}
.style2 {color: #000000}
a:link {
color: #000000;
text-decoration: none;
}
a:visited {
color: #990033;
text-decoration: none;
}
a:hover {
color: #D73801;
text-decoration: underline;
}
a:active {
color: #D73801;
text-decoration: none;
}
.style3 {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
}
-->
</style><?
$sizelimit = "no"; //Do you want a size limit, yes or no?
$sizebytes = "614400"; //size limit in bytes
$dl = "http://www.annunziataspinazzola.org/public/files"; //url where files are uploaded
$absolute_path = "d://inetpub//webs//annunziataspinazzolaorg//public//files//"; //Absolute path to where files are uploaded
$websiteurl = "http://www.annunziataspinazzola.org/public/updown.php"; //Url to you website




switch($action) {
default:
echo"
<html>
<head>
<title>Upload Img</title>
</head>
<body>
<a href=$PHP_SELF?action=upload>Carica File</a>
<a href=$websiteurl>Indietro $websitename</a>



</body>
</html>";
break;
case "download":
echo "
<html>
<head>
<title>File Download</title>
</head>
<body> <a href=$websiteurl>Return to $websitename";
$list = "<table width=700 border=1 bordercolor=#000000 style=\"border-collapse: collapse\">";
$list .= "<tr><td width=700><center>Clicca per scaricare i file</center></td></tr>";
$dir = opendir($absolute_path);
while($file = readdir($dir)) {
if (($file != "..") and ($file != ".")) {
$list .= "<tr><td width=700><center><a href=$dl/$file>$file</a></center></td></tr>";
}
}
$list .= "</table>";
echo $list;
echo"




</body>
</html>";
break;

case "upload":
echo"
<html>

<head>
<title>Upload File</title>
</head>

<body>

<form method=POST action=$PHP_SELF?action=doupload enctype=multipart/form-data>


File to upload:

<input type=file name=file size=30>



<button name=submit type=submit>
Carica
</button>
</form>




</body>

</html>";
break;


//File Upload
case "doupload":
$dir = "dir";
if ($file != "") {

if (file_exists("$absolute_path/$file_name")) {
die("Il File è già esistente, rinominalo!");
}

if (($sizelimit == "yes") && ($file_size > $sizebytes)) {
die("Il file è troppo grande! deve epesare massimo $sizebytes");
}


@copy($file, "$absolute_path/$file_name") or die("The file you are trying to upload couldn't be copied to the server");

} else {
die("Devi selezionare un file da caricare!");
}
echo "
<html>
<head>
<title>Upload File</title>
</head>
<body>";
echo $file_name." è stato caricato";
echo "

<a href=$PHP_SELF?action=upload>Carica un altro file</a>
<a href=http://www.annunziataspinazzola.org/prova/home.html>Ritorna alla home</a>





</body>
</html>";
break;

}
?>



<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="650" height="300">
<param name="movie" value="api_pro.swf">
<param name="quality" value="high">
<embed src="api_pro.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="650" height="300"></embed>
</object>
</p>

<ul>[/list]
<p class="style3"> </p>
Vorrei inserire il campo email, dove l'utente mette la sua email. poi lo script deve avvisarmi (via email) che pinco@pallino.it (x es.) ha caricato una img.
come lo faccio?