Upload a soucasne upozorneni na mail

Heledte, mam tenhle UPLOADovaci kod:

<?php


$action = $_POST["action"];
$max_size = "1048576"; // Max size in BYTES (1MB)

echo "
<b>Uploader</b><br>
<form action='upload.php' method=post enctype='multipart/form-data'>
File (max size: $max_size bytes/".($max_size/1024)." kb):<br>
<!-- This is NOT a secure method of checking filesize, but it tells the user if he tried to upload a file too big before
he waits for the huge file to upload, make sure to check the filesize after the form is sent as well -->
<!-- <input type='hidden' name='MAX_FILE_SIZE' value='$max_size'> (removed because it wasn't working properly) -->
<input type='file' name='filename'><br>
<input type='hidden' name='action' value='upload'>
<input type='submit' value='Upload File'>
</form>";


if ($action == 'upload')
{


if ($_FILES["filename"]["size"] > $max_size) die ("<b>File too big! Try again...</b>");


copy($_FILES["filename"]["tmp_name"],"./".$_FILES["filename"]["name"]) or die("<b>Unknown error!</b>");
echo "<b>File Uploaded.</b>"; // for debug --> $filename --> ".$destination."/".$filename_name."</h2>";


}

?>

Jak je videt, nepsal jsem ho ja, ale to je jedno..
Ted bych potreboval pomoct - da se nejak udelat, ze kdyz nekdo ten soubor nacte tak mi to posle upozorneni na mail - treba neco jako - "mas UPLOAD VOE!"? Jde to nejak? Moc diky ;-)
Jde to pomoci fce mail.. A byt tebou tak bych raději používal move_uploaded_file.. Tusím, ze copy neni na wz povoleno.

Jinak:
http://mirrors.inway.cz/manual/cs/function.move-uploaded-file.php
http://mirrors.inway.cz/manual/cs/function.mail.php

Vsechno jde, když se chce :)