Sinambela

Untitled

Apr 3rd, 2016
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. $admin_email = '[email protected]'; // Your Email
  2. $message_min_length = 5; // Min Message Length
  3.  
  4.  
  5. class Contact_Form{
  6. function __construct($details, $email_admin, $message_min_length){
  7.  
  8. $this->name = stripslashes($details['name']);
  9. $this->email = trim($details['email']);
  10. $this->subject = '[email protected]'; // Subject
  11. $this->message = stripslashes($details['message']);
  12.  
  13. $this->email_admin = $email_admin;
  14. $this->message_min_length = $message_min_length;
  15.  
  16. $this->response_status = true;
  17. $this->response_html = '';
  18. }
Advertisement
Add Comment
Please, Sign In to add comment