<?php
// Stop Injections

$SQLInjectionRegexOR = '/[\'")]* *[o][r] *.*(.)(.) *= *\\2(?:--)?\\1?/i';
$suspiciousQueryItemsOR = preg_grep($SQLInjectionRegexOR, $_REQUEST);
if (!empty($suspiciousQueryItemsOR)) die('This is not allowed. If you believe we have made a mistake, then go here in the forum and share this: <a target="_blank" href="http://www.bigware.de/forum/erfahrungsaustausch-zum-sicherheitsupdate-36-t1984.html">Forumthread</a>');

$SQLInjectionRegexAND = '/[\'")]* *[a][n][d] *.*(.)(.) *= *\\2(?:--)?\\1?/i';
$suspiciousQueryItemsAND = preg_grep($SQLInjectionRegexAND, $_REQUEST);
if (!empty($suspiciousQueryItemsAND)) die('This is not allowed. If you believe we have made a mistake, then go here in the forum and share this: <a target="_blank" href="http://www.bigware.de/forum/erfahrungsaustausch-zum-sicherheitsupdate-36-t1984.html">Forumthread</a>');


?>
