Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2017
709
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.62 KB | None | 0 0
  1. function mailClanForm($tag, $name, $founder, $leader, $page, $wiki, $irc, $logo) {
  2.        
  3.         $to = 'fuzzer.pt@gmail.com,cubosdebass@gmail.com,uk.billy.bob@gmail.com,abs8824@gmail.com,juji38@nadlanu.com';
  4.         $subject = "Add/Update clan info";
  5.         $body = "Tag: " . stripslashes($tag) ."\n
  6.             Name: $name\n
  7.             Founder(s): $founder\n
  8.             Leader(s): $leader\n
  9.             Page: $page\n
  10.             Wiki: $wiki\n
  11.             IRC: $irc\n
  12.             Logo: $logo\n";
  13.         if (mail($to, $subject, $body))
  14.             echo "<h3><font color='green'>Information successfuly sent.</font></h3>";
  15.         else
  16.             echo "<h3><font color='red'>Error while sending information.</font></h3>";
  17.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement