function
createlike(
$a
,
$b
,
$c
=
''
){
$d
=
''
;
$e
=
'or'
;
$f
=
count
(
$a
);
for
(
$i
=0;
$i
<
$f
;
$i
++) {
if
(
$i
==
$f
-1) {
$e
=
''
;}
$d
.=(
$a
[
$i
].
" LIKE BINARY '%"
.
$b
.
"%' "
.
$e
.
" "
);
}
return
$c
.
' ( '
.
$d
.
' ) '
;}
createlike([
'platform'
,
'Date'
,
'Team'
,
'addr'
,
'IP'
,
'domain'
],
$inf
,
'id!=0 and '
);