Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: errors[] = 'The ' . $field . 'field is required.'; } } if(empty($errors)) { $m = new PHPMailer; $m->isSMTP(); $m->SMTPauth = true; $m->SMTDebug = true; $m->Host ='smtp.gmail.com'; $m->Username = 'myEmail@gmail.com'; $m->Password = 'myPass'; $m->SMTPSecure = 'ssl'; $m->Port = 465; $m->isHTML(true); $m->Subject = 'Contact form submitted'; $m->Body ='From: ' .$fields['name'] . […]
↧