En primera deberias de entrar con el formulario, si no OBVIO no te sube nada...
Para empezar, te voy a dejar el form que deberias de utilizar ya configurado:
<form action="./recibe.php" method="post" enctype="multipart/form-data">
<p>
<label for="file">Select a file:</label> <input type="file" name="userfile" id="file"> <br />
<button>Upload File</button>
<p>
</form>
Y en este linea, te configure a cerca de 1MB para que subas el archivo que pese 1 Megabyte:
<?php
$max_filesize = 1048576; // Maximum filesize in BYTES (currently 1 MB).
?>
Y en esta linea:
<?php
if(!in_array($ext,$allowed_filetypes))
die('The file you attempted to upload is not allowed.');
?>
Deberia ser asi:
<?php
if(in_array($ext,$allowed_filetypes))
die('The file you attempted to upload is not allowed.');
?>
Establece bien el codigo y me dices si te Funca!... Lo intente asi, y me subio las imagenes q no podia subir!
Un saludo y suerte, espero poder aver ayudado!