<%
dim number
randomize timer
number=int(10000*rnd()+1)
if len(number)<4 then
response.write cstr(0) & number
else
response.write number
end if
%>
<meta http-equiv="refresh" content="1,url=asp.asp">
---------------------------------------------------------------
看看是不是你想要的!保持四位数,不够前面用:0补上!