Jeste dodam... takto jsem si to poupravil pro vice souboru (3):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>upload</title>
</head>
<body bgcolor="#FFFFFF">
<p>
<form method="post" enctype="multipart/form-data">
Select file(s) for upload:<br>
<input type="file" name="jmeno_souboru_1" style="width: 750; height: 20"><br>
<input type="file" name="jmeno_souboru_2" style="width: 750; height: 20"><br>
<input type="file" name="jmeno_souboru_3" style="width: 750; height: 20"><br><br>
<input type="submit" value="Upload!" style="width: 190; height: 24">
</form>
</p>
<?php
if (is_uploaded_file($_FILES["jmeno_souboru_1"]["tmp_name"])):
$name = $_FILES["jmeno_souboru_1"]["name"];
move_uploaded_file($_FILES["jmeno_souboru_1"]["tmp_name"], "F:/htdocs/data/$name");
endif;
if (is_uploaded_file($_FILES["jmeno_souboru_2"]["tmp_name"])):
$name = $_FILES["jmeno_souboru_2"]["name"];
move_uploaded_file($_FILES["jmeno_souboru_2"]["tmp_name"], "F:/htdocs/data/$name");
endif;
if (is_uploaded_file($_FILES["jmeno_souboru_3"]["tmp_name"])):
$name = $_FILES["jmeno_souboru_3"]["name"];
move_uploaded_file($_FILES["jmeno_souboru_3"]["tmp_name"], "F:/htdocs/data/$name");
endif;
?>
</body>
</html>