Aviso legal"; if (isset($_POST['formulario'])) { $nombre_ap_null = 0; $apellidos_null = 0; $emp_null = 0; // $captcha_null = 0; //$localidad_null = 0; //$telf_null = 0; $email_null = 0; if ($_POST['nombre_ap'] == NULL) $nombre_null = 1; // if ($_POST['captcha'] != $_SESSION['captcha']['code']) $captcha_null = 1; // echo 'captcha: '.$_SESSION['captcha']['code']; //if ($_POST['apellidos'] == NULL) $apellidos_null = 1; //if ($_POST['emp'] == NULL) $emp_null = 1; //if ($_POST['tlf'] == NULL) $telf_null = 1; //if ($_POST['emai'] == NULL) $localidad_null = 1; if (!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $_POST['email'])) $email_null = 1; $userIP = $_SERVER["REMOTE_ADDR"]; $recaptchaResponse = $_POST['g-recaptcha-response']; $secretKey = "6LePiykUAAAAAHANWw2-X0-OspsDGE3TJuMpeFX1"; $request = file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret={$secretKey}&response={$recaptchaResponse}&remoteip={$userIP}"); if(!strstr($request, "true")){ $captcha_fail = 1; } else { if (($nombre_null != 1)&&($apellidos_null != 1)&&($emp_null != 1)&&($email_null != 1)) { $cabeceras = "MIME-version: 1.0\n"; $cabeceras .= "Content-type: text/html; charset=iso-8859-1\n"; $cabeceras .= "From: ".$_POST['nombre_ap']." <".$_POST['email'].">\n"; $cabeceras .= "Reply-To: ".$_POST['email']."\n"; $asunto = "Contacto de ".$_POST['nombre_ap']; $cuerpo = ' RK INFORMATIKA

 

RK INFORMATIKA DATOS OBTENIDOS DEL FORMULARIO DE CONTACTO
NOMBRE: '.$_POST['nombre_ap'].'
PROVINCIA: '.$_POST['provincia'].'
TELÉFONO: '.$_POST['tlfno'].'
EMPRESA: '.$_POST['emp'].'
EMAIL: '.$_POST['email'].'
COMENTARIOS: '.nl2br($_POST['nota']).'

 

'; mail("rk@webrk.net",$asunto,$cuerpo,$cabeceras); $cabeceras = "MIME-version: 1.0\n"; $cabeceras .= "Content-type: text/html; charset=iso-8859-1\n"; $cabeceras .= "From: Administración \n"; $cabeceras .= "Reply-To: rk@webrk.net\n"; $asunto = "Gracias por contactar con RK Informatika"; $cuerpo = ' RK INFORMATIKA

 

RK INFORMATIKA SU MENSAJE HA SIDO ENVIADO CORRECTAMENTE
   
 

Gracias por la confianza depositada en nosotros.

Nos pondremos en contacto a la mayor brevedad posible

   

 

'; mail($_POST['email'],$asunto,$cuerpo,$cabeceras); $sent = 1; } } } #end if (!isset($_POST['formulario'])) ?> RK Aplicaciones Web

RK Aplicaciones Web, Innovando hacia el futuro

Contacto

contactar
fail

'; ?>

Comprobar que los datos introducidos sean correctos. Los campos marcados con * son obligatorios.

 
 







 
" /> */ ?>

Su mensaje ha sido enviado correctamente.

RK INFORMATICA
Artekalea 7
Gernika-Lumo
48300 Bizkaia

Web: http://www.webrk.net
Email: rk@webrk.net
Tlf: 94 465 07 37 (Gernika-Lumo)

HORARIO COMERCIAL
Lunes a viernes:
9:30 - 13:30 / 16:00 - 20:00
Sabados:
9:30 - 13:30