du mangler action="aktuelt filnavn" i første linje i formtagget...
<form id="form1" method="POST" action="current file name/example.php" enctype="multipart/form-data">
ELLER brug denne.
<form id="form1" method="POST" action="<?php echo $_SERVER['PHP_SELF'];?>" enctype="multipart/form-data">