|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
缺点:正版成本价格贵(盗版就不说了)、不够安全,大多数服务器用windows系统,没有linux安全<html>
<title>
盘算器
</title>
<body>
<formaction=calculator.aspmethod=post>
操纵数1:<inputtype=textname=num1><br>
操纵数2:<inputtype=textname=num2><br>
<p>
选择你要举行的操纵<br>
<inputtype=radioname=operationvalue="加"checked>加<br>
<inputtype=radioname=operationvalue="减">减<br>
<inputtype=radioname=operationvalue="乘">乘<br>
<inputtype=radioname=operationvalue="除">除<br>
<inputtype=submit><inputtype=reset>
</form>
<hr>
<%
dimn1,n2,op
ifrequest.form.count=0then
response.end
endif
n1=request.form("num1")
n2=request.form("num2")
op=request.form("operation")
ifop="加"then
response.writen1
response.write"+"
response.writen2
response.write"="
response.writeclng(n1)+clng(n2)
elseifop="减"then
response.writen1
response.write"-"
response.writen2
response.write"="
response.writeclng(n1)-clng(n2)
elseifop="乘"then
response.writen1
response.write"*"
response.writen2
response.write"="
response.writeclng(n1)*clng(n2)
elseifop="除"then
response.writen1
response.write"/"
response.writen2
response.write"="
response.writeclng(n1)/clng(n2)
endif
%>
</body>
</p>Windows本身的所有问题都会一成不变的也累加到了它的身上。安全性、稳定性、跨平台性都会因为与NT的捆绑而显现出来; |
|