Browse Source

:whistle:

master
Shikiryu 9 years ago
parent
commit
c9607ea925
  1. 4
      FileToZipEmail.php

4
FileToZipEmail.php

@ -25,7 +25,7 @@ class FileToZipEmail{
(stripos ($email,"Content-Type")!==false) ||
(empty($_SERVER['HTTP_USER_AGENT'])))
die('Incorrect request') ; //stop spammers
mail('shikiryu@gmail.com', '[SPAMMER] someone is trying to hack you.', "Hello, \n\n".$this->_email." tried to hack you.\n\nBye o/");
mail('email', '[SPAMMER] someone is trying to hack you.', "Hello, \n\n".$this->_email." tried to hack you.\n\nBye o/");
}
/**
@ -34,4 +34,4 @@ class FileToZipEmail{
public function send(){
mail($this->_email, 'A new file to download', "Hello, \n\nYou can download a new file here : ".BASE_URL."/".$this->_shortcut."\n\nBye o/");
}
}
}

Loading…
Cancel
Save