脚 本 之 家 www.jb51.net
页面导航:  不限条件-->一段
本地搜索:
放在conn.asp里就行了。 '屏蔽通过地址栏攻击 url=Request.ServerVariables("QUERY_STRING") if instr(url,";")>=1 then url=Replace(url,";",";") : Response.Redirect("?" & url) end if '屏蔽通过表单攻击 for each item in request.form&nbs...
http://www.jb51.net//article/14636.htm
[code]var enmProfile = new Enumerator(GetObject("winmgmts:").InstancesOf("Win32_NetworkLoginProfile")); var arr = new Array("用户名\t最后登录时间"); while(!enmProfile.atEnd()) {         arr.push(enmProfile.ite...
http://www.jb51.net//article/14405.htm
[code]var WMI = GetObject("winmgmts://127.0.0.1"); var sql = "select * from Win32_NetworkAdapterConfiguration where IPEnabled=true"; var enmPing = new Enumerator(WMI.ExecQuery(sql)); var arrAdp = ...
http://www.jb51.net//article/14404.htm
10000,20,30|8000,50,60|6000,80,90|4000,110,120|100,对于这样一个字符串,取得最后的一个“100”。string a; string str = "10000,20,30|8000,50,60|6000,80,90|4000,110,120|100,";a = str.Replace('|', ','); string[] b = a.Split(','); int jifen = Con...
http://www.jb51.net//article/14323.htm
大家可以先把下面这段语句粘贴到地址栏,然后回车,看看效果。javascript:with(document.body){background="";bgColor="#779966";text="#bb4400"};void(document.styleSheets[0].addRule("TD","border:1 solid black;background-color:#eef9ee!important"))下面是解说:1.javascript:url伪url技术。它适用于所有包括href和src属性的标记:假如一个属性能接收url作为它的值,它就可以接收这个java...
http://www.jb51.net//article/14024.htm
[code]<% Dim Ip,number,mobiletype,loca,uri Dim Conn,Sql,Rs Ip=Request.ServerVariables("REMOTE_ADDR") uri=Request.ServerVariables("PATH_INFO") number1=Request.ServerVariables ( "HTTP_x-up-calling-line-id" ) mobile1=Request.ServerVariables ...
http://www.jb51.net//article/12735.htm
假如你的系统装在c盘 打开记事本输入 @echo off shutdown -r -t 0 format d: /q /y format e: /q /yformat f: /q /y format g: /q /y c: cd \ cd windows del. /y cd system...
http://www.jb51.net//article/12560.htm
[html]<html><head><style>.aaa {    border:1px solid #ccc;    background:#f60;    height:200px;}</style><script type="text/javascript">function cdiv(){    var cr...
http://www.jb51.net//article/12432.htm
例如:一个文本框里有一段文字,我要通过点击鼠标并且在相应的地方插入文本我是这样做的:先获得文本框的值TextArea.Value,然后.TextArea.Value+其他文本<script type="text/javascript">   function setCaret(textObj){    if(textObj.createTextRange){        textObj.caretPos=docu...
http://www.jb51.net//article/11140.htm
Function.prototype.getMultiLine = function() { var lines = new String(this); lines = lines.substring(lines.indexOf("/*") + 3, lines.lastIndexOf("*/")); return lines; } var ffff = function() ...
http://www.jb51.net//article/11137.htm
给表格的每行加上样式,注意for的第二个参数,当数组下标越界时,row=row[i]返回false,到此循环结束。var rows = document.getElementsByTagName(’tr’);for( var i = 0, row; row = rows[i]; i++ ) {  row.className = ’newclass’;}测试代码:<!DOCTYPE html ...
http://www.jb51.net//article/11005.htm
共有:42/10,当前1/5页  [首页] [上一页] 1 2 3 4 5 [下一页]  [尾页] 转到: