Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ( isset($_POST['email']) && isset($_POST['name']) && isset($_POST['message'])) {
- $test = "/(content-type|bcc:|cc:|to:)/i";
- foreach ( $_POST as $key => $val ) {
- if ( preg_match( $test, $val ) ) {
- exit;
- }
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment