请求将JSP一小段代码装换成ASP代码50分 完成以后最少追加20分
<%StringMovieName=request.getParameter("MovieName");MovieName=MovieName.replace('','-...
<%String MovieName=request.getParameter("MovieName");
MovieName=MovieName.replace(' ','-');
byte b[]=MovieName.getBytes("ISO-8859-1");
MovieName=new String(b);
%>
<%
String GUID =request.getParameter("GUID");
Calendar tm=Calendar.getInstance();
int iGameTime =tm.get(Calendar.HOUR_OF_DAY) * 3600 + tm.get(Calendar.MINUTE) * 60 + tm.get(Calendar.SECOND);
int uuidInt=(iGameTime*983)+(UserID% 8003)+(Integer.parseInt(MovieID)%20008);
String UID=String.valueOf(uuidInt);
String UUID=UID+"/"+GUID;
String ji="(第"+String.valueOf(Integer.parseInt(request.getParameter("MovieID"))%1000)+"集)";
MovieName=MovieName+ji;
%> 展开
MovieName=MovieName.replace(' ','-');
byte b[]=MovieName.getBytes("ISO-8859-1");
MovieName=new String(b);
%>
<%
String GUID =request.getParameter("GUID");
Calendar tm=Calendar.getInstance();
int iGameTime =tm.get(Calendar.HOUR_OF_DAY) * 3600 + tm.get(Calendar.MINUTE) * 60 + tm.get(Calendar.SECOND);
int uuidInt=(iGameTime*983)+(UserID% 8003)+(Integer.parseInt(MovieID)%20008);
String UID=String.valueOf(uuidInt);
String UUID=UID+"/"+GUID;
String ji="(第"+String.valueOf(Integer.parseInt(request.getParameter("MovieID"))%1000)+"集)";
MovieName=MovieName+ji;
%> 展开
1个回答
展开全部
<%
MovieName = request("MovieName")
MovieName = replace(MovieName,"","-")
%>
<%
GUID = request("GUID")
iGameTime = hour(now()) * 3600 + minute(now()) * 60 + second(now())
uuidInt = (iGameTime * 983) + (UserID mod 8003) + (clng(MovieID) mod 20008)
UID = cstr(uuidInt)
UUID = UID & "/" & GUID
ji = "(第" & (clng(request("MovieID")) mod 1000) & "集)"
MovieName=MovieName & ji
%>
MovieName = request("MovieName")
MovieName = replace(MovieName,"","-")
%>
<%
GUID = request("GUID")
iGameTime = hour(now()) * 3600 + minute(now()) * 60 + second(now())
uuidInt = (iGameTime * 983) + (UserID mod 8003) + (clng(MovieID) mod 20008)
UID = cstr(uuidInt)
UUID = UID & "/" & GUID
ji = "(第" & (clng(request("MovieID")) mod 1000) & "集)"
MovieName=MovieName & ji
%>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询