|
$sucheX = 'phpMyAdmin';
if (strchr($HTTP_REFERER, $sucheX) == true)
{}else{
$blumen=ereg_replace('=', 'xxx', $HTTP_REFERER);
$blumen=ereg_replace('&', 'yyy', $blumen);
}
$myquery=ereg_replace('=', 'xxx', $QUERY_STRING);
$myquery=ereg_replace('&', 'yyy', $QUERY_STRING);
$hhh=$_SERVER["REQUEST_URI"];
echo" ";
?> |
function replace($x) {
$k1=array(' -','/','ß','ä','ö','ü','Ä','Ö','Ü',' ',':','&','?','!','"',',','.');
$k2=array('','-','ss','ae','oe','ue','ae','oe','ue','2n2','-','und','','','','','');
for ($i='0';$i<'15';$i++) {
$x = str_replace($k1[$i],$k2[$i],$x);
}
return $x;
}
#####
function replace_re($y) {
$k2y=array('ä','ö','ü','-',' ');
$k1y=array('ae','oe','ue','-','2n2');
for ($i='0';$i<'15';$i++) {
$y = str_replace($k1y[$i],$k2y[$i],$y);
}
return $y;
}
#####
if ($suchbegriff=="0"){$suchbegriff="";}if ($stadt=="0"){$stadt="";}
if ($search=="1" and $pos!="")
{
$suchbegriff = replace_re($suchbegriff);
$stadt = replace_re($stadt);
}
?> | |