AYUDA CON FORMATO PHP

HOLA GENTE NECESITO QUE ME AYUDEN A CAMBIAR ESTE FORMULARIO PHP


<?php
function form_mail($sPara, $sasunto, $sTexto, $sDe)
{
$bHayFicheros = 0;
$sCabeceraTexto = &quot;&quot;;
$sAdjuntos = &quot;&quot;;

if ($sDe)$sCabeceras = &quot;From:&quot;.$sDe.&quot;\n&quot;;
else $sCabeceras = &quot;&quot;;
$sCabeceras .= &quot;MIME-version: 1.0\n&quot;;
foreach ($_POST as $sNombre => $sValor)
$sTexto = $sTexto.&quot;\n&quot;.$sNombre.&quot; = &quot;.$sValor;

foreach ($_FILES as $vAdjunto)
{
if ($bHayFicheros == 0)
{
$bHayFicheros = 1;
$sCabeceras .= &quot;Content-type: multipart/mixed;&quot;;
$sCabeceras .= &quot;boundary=\&quot;--_Separador-de-mensajes_--\&quot;\n&quot;;

$sCabeceraTexto = &quot;----_Separador-de-mensajes_--\n&quot;;
$sCabeceraTexto .= &quot;Content-type: text/plain;charset=iso-8859-1\n&quot;;
$sCabeceraTexto .= &quot;Content-transfer-encoding: 7BIT\n&quot;;

$sTexto = $sCabeceraTexto.$sTexto;
}
if ($vAdjunto[&quot;size&quot;] > 0)
{
$sAdjuntos .= &quot;\n\n----_Separador-de-mensajes_--\n&quot;;
$sAdjuntos .= &quot;Content-type: &quot;.$vAdjunto[&quot;type&quot;].&quot;;name=\&quot;&quot;.$vAdjunto[&quot;name&quot;].&quot;\&quot;\n&quot;;;
$sAdjuntos .= &quot;Content-Transfer-Encoding: BASE64\n&quot;;
$sAdjuntos .= &quot;Content-disposition: attachment;filename=\&quot;&quot;.$vAdjunto[&quot;name&quot;].&quot;\&quot;\n\n&quot;;

$oFichero = fopen($vAdjunto[&quot;tmp_name&quot;], 'r');
$sContenido = fread($oFichero, filesize($vAdjunto[&quot;tmp_name&quot;]));
$sAdjuntos .= chunk_split(base64_encode($sContenido));
fclose($oFichero);
}
}

if ($bHayFicheros)
$sTexto .= $sAdjuntos.&quot;\n\n----_Separador-de-mensajes_----\n&quot;;
return(mail($sPara, $sAsunto, $sTexto, $sCabeceras));
}

//cambiar aqui el email
if (form_mail(&quot;[correo eliminado]&quot;, $_POST,
&quot;Los datos introducidos en el formulario son:\n\n&quot;, $_POST[correo eliminado]))
?>


PARA QUE QUEDE CON ESTE ARCHIVO HTML


<form action="formulario.php" method="post" enctype="multipart/form-data" name="frm">
<table border="0">
<tr>
<td width="200"><div align="right"><h1>Nombre y Apellido*:</h1></div></td>
<td width="200"><div align="left">
<label>
<input name="nombre" type="text" id="nombre" />
</label>
</div></td>
</tr>
<tr>
<td><div align="right"><h1>Empresa*:</h1></div></td>
<td><div align="left">
<label>
<input name="titulo" type="text" id="titulo" />
</label>
</div></td>
</tr>
<tr>
<td><div align="right"><h1>Cargo*:</h1></div></td>
<td><div align="left">
<label>
<input name="titulo" type="text" id="titulo" />
</label>
</div></td>
</tr>
<tr>
<td><div align="right"><h1>Tel/Fax*:</h1></div></td>
<td><div align="left">
<label>
<input name="titulo" type="text" id="titulo" />
</label>
</div></td>
</tr>
<tr>
<td><div align="right"><h1>E-mail*:</h1></div></td>
<td><input name="email" type="text" id="email" /> </td>
</tr>
<tr>
<tr>
<td><div align="right"><h1>Consulta(¿Que Desea Saber?)*: </h1></div></td>
<td><div align="left">
<label>
<textarea name="guia" id="guia"></textarea>
</label>
</div></td>
</tr>
<td><div align="right">
<input name="restablecer" type="reset" id="restablecer" value="Restablecer" />
</div></td>
<td><div align="left">
<input name="Enviar" type="submit" id="Enviar" value="Enviar" />
</div></td>
</tr>
</table></form>
<h1> *(los campos son obligatorio) </h1>


<h2>Pagina En Construccion!Si El Mensaje No Se Envia Contactar a ([correo eliminado]) O Sino Ah ([correo eliminado]) Embiando Un E-mail Con Las Caracteristicas Ya Mencionada Disculpen Las Molestia Cigas</h1>

</body>
</html>