Ver Mensaje Individual
  #22 (permalink)  
Antiguo 25/04/2007, 13:17
Thulsa_Doom
 
Fecha de Ingreso: abril-2007
Mensajes: 24
Antigüedad: 17 años
Puntos: 0
Re: Ayuda con una web que estoy montando

voy a ponerlo por partes a verrrrr

1º parte

Código PHP:
<?php
if(isset($_POST['Enviar']) && !empty($_POST['Enviar'])) {
$Nombre $_POST['Nombre'];
$Apellidos $_POST['Apellidos'];
$Direccion $_POST['Direccion'];
$Email $_POST['Email'];
$Telefono $_POST['Telefono'];
$Mensaje $_POST['Mensaje'];
$mail='[email protected]';
$thank="../contacto/enviar.html";
$pagina_error "../contacto/error.html";
$message "Gracias por su consulta, nos pondremos en contacto lo antes posible"
Nombre:".$Nombre."n
Apellidos
:".$Apellidos."n
Dirección
:".$Direccion."n
Email
:".$Email."n
Telefono
:".$Telefono."n
Mensaje
:".$Mensaje."n";
if (mail($mail,"
consulta",$message)) Header ("Location:$thank");
else Header ("
Location:$pagina_error");
}
?> 

<html>
<head>
<title>NetroniCanarias</title>
<meta http-equiv="
Content-Type" content="text/htmlcharset=iso-8859-1">
<style type="
text/css">
<!--
.Estilo2 {color: #0000FF}
.Estilo3 {color: #0099FF}
.Estilo4 {color: #66FFFF}
.Estilo7 {color: #66CCFF; font-size: 12px; }
.Estilo9 {color: #000000}
.Estilo11 {font-size: x-large}
.Estilo13 {color: #CCCCCC}
.Estilo27 {color: #666666}
.Estilo28 {font-weight: bold}
.Estilo29 {color: #0000FF; font-weight: bold; }
-->
</style>
<script language="
JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="
Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>