je mist action="huidige bestandsnaam" in de eerste regel van de formuliertag...
<form id="form1" method="POST" action="current file name/example.php" enctype="multipart/form-data">
OF gebruik dit.
<form id="form1" method="POST" action="<?php echo $_SERVER['PHP_SELF'];?>" enctype="multipart/form-data">