html随机下载地址,我想让HTML随机二级域名,要怎么做呢?
答案:2 悬赏:60 手机版
解决时间 2021-02-21 02:25
- 提问者网友:难遇难求
- 2021-02-20 02:41
html随机下载地址,我想让HTML随机二级域名,要怎么做呢?
最佳答案
- 五星知识达人网友:醉吻情书
- 2021-02-20 04:14
- 首页
- 首页1
- 首页2
- 首页3
- 选项一
- 选项1
- 选项2
- 选项3
- 选项二
- 选项1
- 选项2
- 选项3
- 选项三
- 选项1
- 选项2
- 选项3
- 选项四
- 选项1
- 选项2
- 选项3
选项一鼠标触碰出现下极菜单
二级ul下的li在css样式里要给浮动
全部回答
- 1楼网友:渊鱼
- 2021-02-20 05:16
把默认首页改成home.asp,然后在里面写response.redirect("index.asp?"&gen_key(8))
function gen_key(digits)
'create and define array
dim char_array(50)
char_array(0) = "0"
char_array(1) = "1"
char_array(2) = "2"
char_array(3) = "3"
char_array(4) = "4"
char_array(5) = "5"
char_array(6) = "6"
char_array(7) = "7"
char_array(8) = "8"
char_array(9) = "9"
char_array(10) = "a"
char_array(11) = "b"
char_array(12) = "c"
char_array(13) = "d"
char_array(14) = "e"
char_array(15) = "f"
char_array(16) = "g"
char_array(17) = "h"
char_array(18) = "i"
char_array(19) = "j"
char_array(20) = "k"
char_array(21) = "l"
char_array(22) = "m"
char_array(23) = "n"
char_array(24) = "o"
char_array(25) = "p"
char_array(26) = "q"
char_array(27) = "r"
char_array(28) = "s"
char_array(29) = "t"
char_array(30) = "u"
char_array(31) = "v"
char_array(32) = "w"
char_array(33) = "x"
char_array(34) = "y"
char_array(35) = "z"
'initiate randomize method for default seeding
randomize
'loop through and create the output based on the the variable passed to
'the function for the length of the key.
do while len(output) < digits
num = char_array(int((35 - 0 + 1) * rnd + 0))
output = output + num
loop
'set return
gen_key = output
end function
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯