dflow Posted March 13, 2011 Share Posted March 13, 2011 i have this to vlock bots out why is the pregmatch part receiving inserts of "http" ???? [cdoe] if (empty($_POST['Main']) && !empty($_POST['CustomerEmail']) && !preg_match("/http/i","$RequestText")) { mail($to, $subject, $message, $headers); $url_success = "confirmation.php"; echo("<meta http-equiv = refresh content=0;url=".$url_success.">"); } elseif (empty($email)) { exit(); } else { exit(); } Link to comment https://forums.phpfreaks.com/topic/230510-pregmatch-and-bot-blocking-help/ Share on other sites More sharing options...
dflow Posted March 13, 2011 Author Share Posted March 13, 2011 solved Link to comment https://forums.phpfreaks.com/topic/230510-pregmatch-and-bot-blocking-help/#findComment-1187109 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.