mailto:[email protected]?subject=Upload
como método he puesto: POST
y como enctype: multipart/form-data
El código de mi formulario es:
<html>
<head>
<title>Upload</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
background-image: url(../Fondo/Fondo.png);
}
-->
</style>
<link href="../estilos/mi.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
función processMyForm(){
alert('Gracias por su pedido');
}
function MM_callJS(jsStr) { //v2.0
return eval(jsStr)
}
//-->
</script>
<style type="text/css">
<!--
.Estilo5 {font-size: 16px}
.Estilo6 {color: #FF0000}
-->
</style>
</head>
<body>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="38"><p align="left"> </p>
<p align="left"><span class="unnamed1">Envíanos tus videos retocados, imagenes, sonidos o chistes.</span> <span class="Estilo1">O tambien puedes enviar ...... <span class="Estilo5"><span class="Estilo6">¡¡Dinero!!</span> <br>
</span></span><br>
</p></td>
<td> </td>
<td> </td>
</tr>
</table>
<form action="mailto:[email protected]?subject=Upload" method="post" enctype="multipart/form-data" name="Upload" id="Upload">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="10">
<tr>
<td><fieldset>
<legend class="titulo1">Información de contacto:</legend>
<legend class="titulo1"> <label><span class="unnamed1"> </span></label>
</legend>
<table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="6%"> </td>
<td width="61%"><label class="unnamed1">Nick:
<input name="Nick" type="text" id="Nick" size="40" maxlength="50">
</label></td>
<td width="33%"> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="5%"> </td>
<td width="38%"><label class="unnamed1">Email:
<input name="email" type="text" id="email" value="Escribe tu email" size="40" maxlength="70">
<br>
</label>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%"> </td>
<td width="80%" class="unnamed1">(Este campo no se publicará) </td>
</tr>
</table>
<label class="unnamed1"><br>
</label></td>
<td width="57%" class="unnamed1"> </td>
</tr>
</table>
<p class="titulo1"> </p>
</fieldset> </td>
</tr>
<tr>
<td class="titulo1"><p>Upload Archivo:</p>
<table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="8%"> </td>
<td width="89%"><span class="unnamed1">Seleccione un archivo de video (Max. 100 Mb) </span></td>
<td width="3%"> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12%"> </td>
<td width="85%"><span class="uploadBox">
<input name="videofile" type="file" id="videofile" size="40" maxlength="50">
</span></td>
<td width="3%"> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%"> </td>
<td width="71%"><input name="Submit" type="submit" onClick="MM_callJS('processMyForm()')" value="Subir Fichero"></td>
<td width="9%"> </td>
</tr>
</table> <p> </p></td>
</tr>
</table>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="6%"> </td>
<td width="40%" class="unnamed1">Si tienes problemas al enviar fichero mándalo por mail</td>
<td width="54%" class="unnamed1"><a href="mailto:[email protected]">enviar ficheros mail </a></td>
</tr>
</table>
<p> </p>
</body>
</html>
No sé como hacerlo funcionar. A ver si hay alguien que me pueda ayudar[/code]