Tengo un problema con un formulario. El código es el que os muestro abajo, y el envío lo hace correctamente, salvo que necesito que mediante ese formulario se envíen documentos adjuntos y no me llega nada. Bueno si me llegau un archivo que se llama POSDATA.ATT y que no es legible. ¿Porque no me llega el archivo adjunto?. ¿Que hago mal?. He estado leyendo y una manera de solucionarlo creo que sería con CGI, se como se modificaría el formulario, pero no se que es lo que tendría que hacer en mi servidor para que este procesase ela rchivo y me lo mandase por correo.
Espero que alguien me pueda ayudar. Mcuhas gracias.
Cita:
<form name="form1" method="post" action="mailto:[email protected]" enctype="multipart/form-data">
<table width="793" height="32" border="0" cellspacing="0">
<tr>
<td width="33"> </td>
<td width="756"><p class="Estilo4 Estilo5">UN TEXTO. </p> </td>
</tr>
</table>
<TABLE height=215 cellSpacing=5 cellPadding=0 border=0>
<TBODY>
<TR>
<TD width="114" height=25 align=right><span class="Estilo3"><FONT face=Verdana size=1>Nombre</FONT></span></TD>
<TD width="150" height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=25 name = Nombre nombre>
</span></TD>
<TD width="81" height=25 align=right><span class="Estilo4"><FONT face=Verdana size=1><B>Apellidos</B></FONT></span></TD>
<TD width="154" height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=25 name = Apellidos>
</span></TD>
<TD width="1"> </TD>
</TR>
<TR>
<TD align=right height=25><span class="Estilo4"><FONT face=Verdana size=1><B>Dirección</B></FONT></span></TD>
<TD height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=25 name = Direccion>
</span></TD>
<TD align=right height=25><span class="Estilo4"><FONT face=Verdana size=1><B>Localidad</B></FONT></span></TD>
<TD height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
name = Localidad>
</span></TD>
<TD> </TD>
</TR>
<TR>
<TD align=right height=25><span class="Estilo4"><FONT face=Verdana size=1><B>Código
Postal</B></FONT></span></TD>
<TD height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=15 name = CodigoPostal>
</span></TD>
<TD align=right height=25><span class="Estilo4"><FONT face=Verdana size=1><B>Provincia</B></FONT></span></TD>
<TD height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=25 name = Provincia>
</span></TD>
<TD> </TD>
</TR>
<TR>
<TD align=right height=25><span class="Estilo4"><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=1><B>País</B></FONT></span></TD>
<TD height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=25 name = Pais>
</span></TD>
<TD align=right height=25><span class="Estilo4"><FONT face=Verdana size=1><B>Teléfono</B></FONT></span></TD>
<TD height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=25 name = Telefono>
</span></TD>
<TD> </TD>
</TR>
<TR>
<TD align=right height=25><span class="Estilo4"><FONT face=Verdana size=1><B>E-Mail</B></FONT></span></TD>
<TD height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=25 name = EMail>
</span></TD>
<TD align=right height=25><span class="Estilo4"><FONT face=Verdana size=1><B>Titulación</B></FONT></span></TD>
<TD height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=25 name = Titulación>
</span></TD>
<TD> </TD>
</TR>
<TR>
<TD align=right height=25><span class="Estilo4"><FONT face=Verdana size=1><B>Experiencia</B></FONT></span></TD>
<TD height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=25 name = Experiencia>
</span></TD>
<TD align=right height=25><span class="Estilo4"><FONT face=Verdana size=1><B>C.
Vitae </B></FONT></span></TD>
<TD height=25><input name="file" type="file" size="25"></TD>
<TD> </TD>
</TR>
<TR>
<TD align=right colSpan=4 height=34>
<P align=center>
<table width="19%" border="0" align="center">
<tr>
<td width="11%"><div align="center">
<input type="reset" name="Submit2" value="Borrar">
</div></td>
<td width="89%"><div align="center">
<input type="submit" name="Submit" value="Enviar">
</div></td>
</tr>
</table>
<table width="793" height="32" border="0" cellspacing="0">
<tr>
<td width="33"> </td>
<td width="756"><p class="Estilo4 Estilo5">UN TEXTO. </p> </td>
</tr>
</table>
<TABLE height=215 cellSpacing=5 cellPadding=0 border=0>
<TBODY>
<TR>
<TD width="114" height=25 align=right><span class="Estilo3"><FONT face=Verdana size=1>Nombre</FONT></span></TD>
<TD width="150" height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=25 name = Nombre nombre>
</span></TD>
<TD width="81" height=25 align=right><span class="Estilo4"><FONT face=Verdana size=1><B>Apellidos</B></FONT></span></TD>
<TD width="154" height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=25 name = Apellidos>
</span></TD>
<TD width="1"> </TD>
</TR>
<TR>
<TD align=right height=25><span class="Estilo4"><FONT face=Verdana size=1><B>Dirección</B></FONT></span></TD>
<TD height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=25 name = Direccion>
</span></TD>
<TD align=right height=25><span class="Estilo4"><FONT face=Verdana size=1><B>Localidad</B></FONT></span></TD>
<TD height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
name = Localidad>
</span></TD>
<TD> </TD>
</TR>
<TR>
<TD align=right height=25><span class="Estilo4"><FONT face=Verdana size=1><B>Código
Postal</B></FONT></span></TD>
<TD height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=15 name = CodigoPostal>
</span></TD>
<TD align=right height=25><span class="Estilo4"><FONT face=Verdana size=1><B>Provincia</B></FONT></span></TD>
<TD height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=25 name = Provincia>
</span></TD>
<TD> </TD>
</TR>
<TR>
<TD align=right height=25><span class="Estilo4"><FONT
face="Verdana, Arial, Helvetica, sans-serif" size=1><B>País</B></FONT></span></TD>
<TD height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=25 name = Pais>
</span></TD>
<TD align=right height=25><span class="Estilo4"><FONT face=Verdana size=1><B>Teléfono</B></FONT></span></TD>
<TD height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=25 name = Telefono>
</span></TD>
<TD> </TD>
</TR>
<TR>
<TD align=right height=25><span class="Estilo4"><FONT face=Verdana size=1><B>E-Mail</B></FONT></span></TD>
<TD height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=25 name = EMail>
</span></TD>
<TD align=right height=25><span class="Estilo4"><FONT face=Verdana size=1><B>Titulación</B></FONT></span></TD>
<TD height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=25 name = Titulación>
</span></TD>
<TD> </TD>
</TR>
<TR>
<TD align=right height=25><span class="Estilo4"><FONT face=Verdana size=1><B>Experiencia</B></FONT></span></TD>
<TD height=25><span class="Estilo4">
<INPUT
style="BORDER-RIGHT: #2e73b4 1px solid; BORDER-TOP: #2e73b4 1px solid; FONT-WEIGHT: bold; FONT-SIZE: 10px; BORDER-LEFT: #2e73b4 1px solid; COLOR: #000000; BORDER-BOTTOM: #2e73b4 1px solid; FONT-FAMILY: Verdana; BACKGROUND-COLOR: #ffffff"
size=25 name = Experiencia>
</span></TD>
<TD align=right height=25><span class="Estilo4"><FONT face=Verdana size=1><B>C.
Vitae </B></FONT></span></TD>
<TD height=25><input name="file" type="file" size="25"></TD>
<TD> </TD>
</TR>
<TR>
<TD align=right colSpan=4 height=34>
<P align=center>
<table width="19%" border="0" align="center">
<tr>
<td width="11%"><div align="center">
<input type="reset" name="Submit2" value="Borrar">
</div></td>
<td width="89%"><div align="center">
<input type="submit" name="Submit" value="Enviar">
</div></td>
</tr>
</table>