Ver Mensaje Individual
  #7 (permalink)  
Antiguo 18/01/2011, 07:17
azaz
 
Fecha de Ingreso: enero-2011
Mensajes: 1.150
Antigüedad: 13 años, 4 meses
Puntos: 10
Respuesta: declarar una variante

codigo html:
Código HTML:
Ver original
  1. <html lang="en">
  2.     <title>Prueba David</title>
  3.    
  4.    
  5. </head>
  6.  
  7. <form enctype="multipart/form-data" action="publicar.php" method="POST">
  8.    
  9.     <input type="hidden" name="MAX_FILE_SIZE" value="99000" />
  10.  
  11.     Enviar este archivo: <input name="userfile" type="file" />
  12.     <input type="submit" value="Send File" />
  13. </form>
  14. </body>
  15. </form>
  16. </html>

codigo php:
Código PHP:
Ver original
  1. <?php
  2.  
  3.          $mostrarimagen=$_FILES['userfile']['name'];
  4.  
  5.        echo "<img src=" . $mostrarimagen . "/>";
  6.            
  7. ?>




cuando me sale el cuadradito me dice esto:

The requested URL /tumejorfoto/images[7].jpg/ was not found on this server.

que me falta?