(PHP) 스팸 게시물을 방지하는 아주 간단한 방법
// PHP를 사용하는 HTML 양식을 위한 간단한 허니팟 <?php //check if form was sent if($_POST){ $to = ‘[email protected]’; $subject=”Testing HoneyPot”; $header = “From: $name <$name>”; $name = $_POST(‘name’); $email = $_POST(’email’); $message = $_POST(‘message’); //honey pot field $honeypot = $_POST(‘firstname’); //check if the honeypot field is filled out. If not, send a mail. if( ! … Read more