<?phpfunctionset_4pixel($r,$g,$b,$x,$y){global$sx,$sy,$pixels;$ofs=3*($sx*$y+$x);$pixels[$ofs]=chr($r);$pixels[$ofs+1]=chr($g);$pixels[$ofs+2]=chr($b);$pixels[$ofs+3]=chr($r);$pixels[$ofs+4]=chr($g);$pixels[$ofs+5]=chr($b);$ofs+=3*$sx;$pixels[$ofs]=chr($r);$pixels[$ofs+1]=chr($g);$pixels[$ofs+2]=...
http://www.jb51.net//article/16001.htm
[html]<!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"><title>无标题文档</title><styletype="text/css"><!--body{font-size:12px;font-weight...
http://www.jb51.net//article/15941.htm
Author:Linx[code]javascript:document.cookie=window.prompt("LinxEditcookie:",document.cookie);void(0);[/code]...
http://www.jb51.net//article/15831.htm
[html]<SCRIPT LANGUAGE="JavaScript"><!-- Beginfunction formatDate(date) {var mymonth = date.getMonth()+1;var myweekday = date.getDate();return (mymonth + "月" + myweekday+ "日");}function printWeek() {va...
http://www.jb51.net//article/15143.htm
相关设置是修改php.ini中的 date.timezone 参数:[Date]; Defines the default timezone used by the date functions;date.timezone =默认是关闭的,只需把注释去掉,改为即可[Date]; Defines the default timezone used by the date functions...
http://www.jb51.net//article/15010.htm
#scanweb.rb#用法ruby scanweb.rb www.jb51.net 将当前结果保存在c:\1.txtrequire 'net/http'filename= File.new('c:\1.txt',"w+")if $*[0]==nil puts "hehe,没有输入网址"elseh = Net::HTTP.new($*[0], 80)resp, data = h.get('/index.html', nil)if resp.mes...
http://www.jb51.net//article/14966.htm
Dim curUrl:curUrl = Replace(Request.ServerVariables("Script_Name"),"/","")...
http://www.jb51.net//article/14856.htm
[html]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> ...
http://www.jb51.net//article/14541.htm
JAVASCRIPT權威指南第四版上說,這兩個有區別。參見 document.URL 章節。[document.URL是訪問的文檔URL,而window.location.href是真實的文檔URL搞不明白。服务器重定向后有可能使document.url变动,但window.location.href指的永远是访问该网页时用的URL.document.url只能作为只读字符串...
http://www.jb51.net//article/14396.htm
[html]<html> <head> <script language="javascript" type="text/javascript"> window.alert(document.URL); </script> </head> <body> </body> </html> [/html]...
http://www.jb51.net//article/14395.htm
[html] <SCRIPT language=JavaScript> <!---today=new Date();function initArray(){this.length=initArray.arguments.lengthfor(var i=0;i<this.length;i++)this[i+1]=initArray.arguments[i] }var d=new initArray(" 星期日"," 星期一"," 星期二",...
http://www.jb51.net//article/14288.htm
