Ver Mensaje Individual
  #3 (permalink)  
Antiguo 06/06/2011, 11:25
kenproxd
 
Fecha de Ingreso: agosto-2009
Mensajes: 349
Antigüedad: 14 años, 9 meses
Puntos: 8
Respuesta: Problema con input type file

así es:

Código HTML:
Ver original
  1. <form enctype="multipart/form-data" method="POST" action="<?php $_SERVER['PHP_SELF'];?>">
  2.     <b>T&iacute;tulo de la canci&oacute;n: </b><input type="text" name="titulo" value="<?php echo $_POST['titulo'];?>"/><br />
  3.     <br />
  4.     <b>Canci&oacute;n: </b><input type="file" name="cancion" id="cancion" /><br />
  5.     <br />
  6.     <b>Link de descarga: </b><input type="text" name="descarga" /><br />
  7.     <br />
  8.     <b>Productor y Masterizador: </b><input type="text" name="productor" value="<?php echo $_FILES['imagen'];?>"/><br />
  9.     <br />
  10.     <b>Base creada por: </b><input type="text" name="base" value="<?php echo $_FILES['imagen'];?>"/><br />
  11.     <br />
  12.     <input type="submit" name="addsong" id="addsong" value="Agregar Canci&oacute;n" />
  13.     </form>

Éste es el formulario completo