/var/www/clients/client1/web2/web/latynplast
NameSizeModeActions
admin/-0755rm
Connections/-0755rm
css/-0755rm
css_latynplast/-0755rm
fonts/-0755rm
img3/-0755rm
img_latynplast/-0755rm
js/-0755rm
.htaccess2430644editdlrm
banner.php7620644editdlrm
envia_form.php24550644editdlrm
favicon.png7840644editdlrm
footer.php61740644editdlrm
graba_contacto.php27300644editdlrm
gracias.php7060644editdlrm
graciasst.php7110644editdlrm
header.php59180644editdlrm
index.php57180644editdlrm
serviciotecnico.php71550644editdlrm
sliders.php23090644editdlrm
videos.php12880644editdlrm
Edit: /var/www/clients/client1/web2/web/latynplast/graba_contacto.php (2730B)
Documento sin título
Nombre y apellido '.$_POST['data']['nombre'].'
Empresa '.$_POST['data']['empresa'].'
Telefono '.$_POST['data']['telefono'].'
Email '.$_POST['data']['email'].'
Mensaje '.$_POST['data']['mensaje'].'
'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"https://www.google.com/recaptcha/api/siteverify"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(array('secret' => '6LeHAMYaAAAAAKVhM5edpypuP92GejupXI5rm3fI', 'response' => $_POST['data']['g-recaptcha-response']))); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); $arrResponse = json_decode($response, true); if($arrResponse["success"] == '1' ) { mail( "info@latyn.net", "Contacto - LatynPlast", $html, $cabeceras ); //mail( "eugenio@creatica.agency", "Contacto - LatynPlast", $html, $cabeceras ); if ((isset($_POST['data']['nombre'])) && ($_POST['data']['nombre'] != "")) { $insertSQL = sprintf("INSERT INTO contactos (tipo, id_sitio, fecha, nombre, empresa, telefono, email, mensaje) VALUES ('Contacto', 6,%s, %s, %s, %s, %s, %s)", GetSQLValueString(date('Y-m-d'), "date"), GetSQLValueString($_POST['data']['nombre'], "text"), GetSQLValueString($_POST['data']['empresa'], "text"), GetSQLValueString($_POST['data']['telefono'], "text"), GetSQLValueString($_POST['data']['email'], "text"), GetSQLValueString($_POST['data']['mensaje'], "text")); $Result1 = mysqli_query($latynconexiones, $insertSQL) or die(mysqli_error()); } } } ?>