Ver Mensaje Individual
  #2 (permalink)  
Antiguo 24/11/2008, 16:46
Avatar de Panino5001
Panino5001
Me alejo de Omelas
 
Fecha de Ingreso: mayo-2004
Ubicación: -34.637167,-58.462984
Mensajes: 5.148
Antigüedad: 20 años, 8 meses
Puntos: 834
Respuesta: input type="file"

Código PHP:
<form action="" enctype="multipart/form-data">
  <
input type="file" name="file" onchange="ej.value=this.value" />
  <
input type="text" value="" name="ej" id="ej">
</
form
Lo malo es que obtendrás valores diferentes según el navegador (unos ruta completa, otros sólo nombre de archivo)