ASP实现语音分时问候
<bgsound src="wen.mid" loop="0">
<% dim weh
if time >=#1:00:00 am# and time < #6:00:00 pm# then
weh = "<bgsound src="1.mid" loop="0">"
else if time >#6:00:00 am# and time < #9:00:00 pm#
weh = "<bgsound src="2.mid" loop="0">"
else if time >#9:00:00 am# and time < #12:00:00 pm#
weh = "<bgsound src="3.mid" loop="0">"
else if time >#12:00:00 am# and time < #14:00:00 pm#
weh = "<bgsound src="4.mid" loop="0">"
else if time >=#14:00:00 am# and time < #17:00:00 pm#
weh = "<bgsound src="4.mid" loop="0">"
else if time >=#17:00:00 am# and time < #19:00:00 pm#
weh = "<bgsound src="5.mid" loop="0">"
else if time >=#19:00:00 am# and time < #24:00:00 pm#
weh = "<bgsound src="6.mid" loop="0">"
end if
%>
<%=wen %>
上面的 x.mid 是的问候语音
上一篇: 轻松打造ASP计数器
下一篇: 利用ASP打造网站论坛DIY