Advertisement
Guest User

Untitled

a guest
May 11th, 2017
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.86 KB | None | 0 0
  1. <?php
  2. $firestname = $_REQUEST["firestname"];
  3. $lastname = $_REQUEST["lastname"];
  4. $email = $_REQUEST["email"];
  5. $sesso = $_REQUEST["sesso"];
  6. $giornodal = $_REQUEST["giornodal"];
  7. $mesedal = $_REQUEST["mesedal"];
  8. $annodal = $_REQUEST["annodal"];
  9. $giornoal = $_REQUEST["giornoal"];
  10. $meseal = $_REQUEST["meseal"];
  11. $annoal = $_REQUEST["annoal"];
  12. $persone = $_REQUEST["persone"];
  13. $categoria = $_REQUEST["categoria"];
  14. if($giornodal == 1 OR $mesedal =="febbraio" OR $giornoal == 1 OR $categoria =="rosa" OR $persone =="uno"){
  15. $destinatario =" shadesmaster@gmail.com";
  16. $oggetto ="EVVIVA, abbiamo un cliente";
  17. $info="nome: $firestname - $lastname - $email - $sesso - $giornodal - $annodal - $giornoal - $meseal - $annoal -
  18.  
  19. $persone - $mesedal";
  20. mail ($destinatario, $oggetto, $info);
  21. }else{
  22. echo "problema nel blocco 1 contact crackoveride@live.it";
  23. die('ci sono stati problemi nel modulo,perfavore spedisci un email a crackoveride@live.it');
  24. }
  25. if($giornodal == 2 or $mesedal == "gennaio" or $giornoal == 2 or $categoria =="viola" or $persone == "due"){
  26. $destinatario =" shadesmaster@gmail.com";
  27. $oggetto ="EVVIVA, abbiamo un cliente";
  28. $info="nome: $firestname - $lastname - $email - $sesso - $giornodal - $annodal - $giornoal - $meseal - $annoal - $persone - $mesedal";
  29. mail ($destinatario, $oggetto, $info);
  30. }else{
  31. die('ci sono stati problemi nel blocco 2,perfavore spedisci un email a crackoveride@live.it');
  32. }
  33. if($giornodal == 3 or $mesedal =="marzo" or $giornoal == 2 or $categoria =="margherita")
  34. {
  35. $destinatario ="shadesmaster@gmail.com";
  36. $oggetto ="EVVIVA, abbiamo un cliente";
  37. $info="nome: $firestname - $lastname - $email - $sesso - $giornodal - $annodal - $giornoal - $meseal - $annoal -
  38.  
  39. $persone - $mesedal";
  40. mail ($destinatario, $oggetto, $info);
  41. }else{
  42. die('ci sono stati problemi nel blocco 3,perfavore spedisci un email a crackoveride@live.it');
  43. }
  44.  
  45. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement