日期:2014-05-17  浏览次数:20996 次

求助关于GetAdvertisement的问题
下面是我写的可就是没有图片显示出来不知道是为什么
<html>
<head> <title> 欢迎进入我的站点 </title> </head>
<body>
<center> <h2> 欢迎进入我的站点 </h2> </center>
<hr>
<%
set   ad=server.createobject( "MSWC.AdRotator ")
%>
<%=ad.GetAdvertisement( "ad.txt ")%>
</body>
</html>

redirect   \ad_redir.asp
width   200
height   100
border   5
*
\pic\01.gif
http://www.263.com
首都在线
30
\pic\02.gif
http://www.sina.com
中国新浪
40
\pic\03.gif
http://www.sohu.com
搜狐
30

ad_redir.asp
<%
response.appendtolog(request.querystring( "url "))
response.redirect(request.querystring( "URL "))
%>

------解决方案--------------------


redirect ad_redir.asp
width 200
height 100
border 5
*
pic/01.gif
http://www.263.com
首都在线
30
pic/02.gif
http://www.sina.com
中国新浪
40
pic/03.gif
http://www.sohu.com
搜狐
30