Kewilleen

php

Jan 18th, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.37 KB | None | 0 0
  1. <?php
  2.   include($_SERVER['DOCUMENT_ROOT']."/site/assets/php/contato.php");
  3.   $nome = $_GET['nome'];
  4.   $email = $_GET['email'];
  5.   $canal = $_GET['canal'];
  6.   $to = '[email protected]';
  7.   $subject = 'Receber YouTuber';
  8.   $message = $email. " e " . $canal;
  9.   $from = "From: " . $nome;
  10.   mail($to,$subject,$message,$from);
  11.   echo "Mensagem enviada com sucesso!";
  12. ?>
Advertisement
Add Comment
Please, Sign In to add comment