domainname.asp
<form method="POST">
请输入域名:<input type="text" name="DomainName" size="20">
<input type="submit" value="提交" name="B1">
<input type="reset" value="重写" name="B2">
</form>
<%
if isempty(request("domainname")) or trim(request("domainname"))="" then
response.end
end if
DomainString =request("domainname")
on error resume next
Set DomainObj = GetObject("WinNT://" & DomainString)
tmp= DomainObj.MinPasswordLength
' 校验有效域.
if err<>0 then
response.write "<Font Color=Red>噢,连接域"&domainstring&"出错!</Font><br>"
response.end
end if
%>
<Table border=1 cellpadding=4 width=90% bgcolor=ffffcc>
<tr Align=Center>
<td valign=top><B><Font Size=5 Color=Blue>域<%=DomainString%>内的所有组的列表</B></Font>
</td>
</tr>
</table>
<Table border=0 cellpadding=5><tr><td><B><Font Size=3>组名</Font></B></td><td><B><Font Size=3>描述</Font></B></td></tr>
<%
DomainObj.Filter = Array("group")
For Each GroupObj In DomainObj
If GroupObj.Class = "Group" Then
strInfo=strInfo&"<tr><td><B><Font Size=3>"&GroupObj.Name&"</Font>
</B></td><td><B><Font Size=3>"&GroupObj.Description&"</Font>
</B></td></tr>"
End If
Next
set DomainObj = Nothing
set GroupObj = Nothing
strInfo=strInfo & "</Table>"
response.write strInfo & "<br>"
response.write "<font size=3><I>" & Now & "</I></Font>"
%>
[1]
jsp 开发之struts2中s:select标签的使用 1.第一个例子: s:select list="{'aa','...
1.判断是否有注入 ;and1=1 ;and1=2 2.初步判断是否是mssql ;anduser0 3.注入参数...
大家应该都知道,在静态页面提交表单到数据库很简单就是单纯的 form action="tes...
本文转载自微信公众号「Java极客技术」,作者鸭血粉丝 。转载本文请联系Java极客...
LABVIEW如何连接SQL Server详细说明 一、整体流程图 二、Sql Sever 2012下载安装...
前言 上次咱们简单的学习了一下select的用法,一篇文章教会你进行Mysql数据库和...
最近出的每日一题里面,有一道是关于合并同类型数据为一行的题,使用SQL Server ...
分享背景 由于一直在虚拟机的状态下开发PHP,尝试一下mac本地搭建环境.mac本身是...
导读: 正则表达式是处理字符串类型的"核武器",不仅速度快,而且功能强大。本文...
支持多行同时拖拽,重复数据不重得添加,添加了图表右键菜单. 复制代码 代码如下...