function
randomString
(
$length
=
32
)
{
$str
=
md5
(
mktime
(
)
+
rand
(
0
,
10000
)
)
;
return
substr
(
$str
,
0
,
$length
)
;
}