世纪佳缘如何隐身登陆:会ASP的请帮小弟一个忙!!!!

来源:百度文库 编辑:高校问答 时间:2024/05/15 15:27:30
<%
if sServerName <> localhost then
%>
我是想判断sServerName等不等于字符串localhost,如果不等则到下一步...
上面的是错误的...谁给帮我解决一下???先谢了

"localhost"

localhost是个字符串的话,需要用
<%
if sServerName <> "localhost" then
%>