31/08/2009, 08:19
|
| | Fecha de Ingreso: noviembre-2008 Ubicación: Lima
Mensajes: 48
Antigüedad: 16 años, 2 meses Puntos: 2 | |
problema en carga archivo al servidor buenas a todos tengo un problemilla
add_photo.php
----------------------
<form name="frmfoto" action="../acciones/action_foto.php" id="frmfoto" enctype="multipart/form-data">
<center>
<input type="file" name="attach" id="attach" />
<input type="submit" value="Guardar" />
</center>
</form>
al otro lado
if ($_FILES["attach"]["error"] > 0)
{
echo "Error: " . $_FILES["attach"]["error"] . "<br />";
}
else
{
echo "Upload: " . $_FILES["attach"]["name"] . "<br />";
echo "Type: " . $_FILES["attach"]["type"] . "<br />";
echo "Size: " . ($_FILES["attach"]["size"] / 1024) . " Kb<br />";
echo "Stored in: " . $_FILES["attach"]["tmp_name"];
}
el problema que todo sale bien solo que no me muestra la informacion
Upload:
Type:
Size: 0 Kb
Stored in:
cual puede ser el problema?¿?¿? |