![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
07/07/2004, 15:29
|
| | Fecha de Ingreso: diciembre-2003 Ubicación: Málaga
Mensajes: 495
Antigüedad: 21 años, 2 meses Puntos: 0 | |
en el formulario tengo puesto:
<table width="305" height="70" border="0" cellpadding="0" cellspacing="0" STYLE="TOP:1px;Left:1px;">
<form action="alta.php" method="post" name="formu" id="formu" whidth="100% height=100%" enctype="multipart/form-data">
<tr>
<td><strong><font color="#FF9900" size="2" face="Arial, Helvetica, sans-serif">Referencia</font></strong></td>
<td> <div align="left"> <input name="referencia" type="text" id="referencia" size="30"></div></td>
</tr>
q es la pagina en la cual va el codigo q he puesto. lo k me dice es lo siguiente
Warning: move_uploaded_file(fotos/Jul06105.JPG): failed to open stream: No such file or directory in f:\appserv\www\prueba\alta.php on line 21
Warning: move_uploaded_file(): Unable to move 'F:\WINNT\TEMP\php39.tmp' to 'fotos/Jul06105.JPG' in f:\appserv\www\prueba\alta.php on line 21
Ocurrió algún error al subir el fichero. No pudo guardarse.
y la linea 21 es:
if (move_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'],"fotos/$nombre_archivo")){ |