- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
<?php
foreach ($_REQUEST as $s => $v)
{
$s = strtolower($s);
$_REQUEST[$s] = $v;
}
$aaa = urlencode(urldecode($_REQUEST['aaa']));
$q = urlencode(urldecode($_REQUEST['q']));
$bbb = urldecode($_REQUEST['bbb']);
$ccc = intval($_REQUEST['ccc']);
$ddd = intval($_REQUEST['ddd']);
if ($ddd > 16384)
$ddd = 0;
if (isset($_REQUEST['ddd2']))
$ddd2 = trim(strtolower(urldecode($_REQUEST['ddd2'])));
else
$ddd2 = trim(strtolower(urldecode($_REQUEST['ddd'])));
if (!preg_match('/^[0-9a-z_\-]*$/i', $ddd2))
{
$ddd2 = preg_replace('/[^0-9a-z_\-]+/i', '', $ddd2);
if (strlen($ddd2) > 16)
$ddd2 = substr($ddd2, 0, 16);
}
if (strlen($ddd2) <= 16 && strlen($ddd2) >= 1)
{
$ddd = 0;
} else
{
$ddd2 = '';
}
?>