Código HTML:
<form enctype="multipart/form-data" name="form2" id="form2" method="post" action=""> Nombre: <input name="nombre" type="text"> Foto: <input name="html_file" type="file">[/PHP] <input type="submit" name="submit" value="submit"> </form>
Código PHP:
<?
$imagen= $_POST[html_file];
if ($imagen == NULL){ echo "No hay ninguna imagen"; }
?>
Gracias!