`
haimav
  • 浏览: 54081 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
ASP与PHP比较──────┐ ☆注释符号☆│*********************************************************************(1)ASP一般使用“'”进行单行注释,使用“<!--注释语句-->”进行多行注释(2)PHP一般使用“//”进行单行注释,使用“/*注释语句*/”进行多行注释 ──────┐ ☆标释符号☆│*********************************************************************(1)ASP一般使用“<% ...语句... %>”进行标释 ...
  单行一列以下是引用片段:body { margin: 0px; padding: 0px; text-align: center; } #content { margin-left:auto; margin-right:auto; width: 400px; width: 370px; } 两行一列以下是引用片段:body { margin: 0px; padding: 0px; text-align: center;} #content-top { margin-left:auto; margin-right:auto; width: 400px; width: 370px;} #co ...
  Html代码部分: 1.要有一个带id的样式表链接,我们要通过操作这个链接来调用不同的href. <link href="css/main0.css" rel="stylesheet" type="text/css" id="cssfile" /> 2.皮肤选择按钮(后台为每个li添加onclick事件,触发换肤功能) <ul id="skin"> <li id="skin_0" title="灰色">灰色& ...
element.appendChild(newNode) 方法中,如果 newNode本身是Dom中的一个节点. 那么appendChild方法执行的不再是append操作了,而是一个move操作. <style>*{border:1px solid green}a{display:block;font-size:15px};</style><div id="d" style="width:300px;height:200px;">  
有个故事讲,在酒足饭饱后,国王问大臣:你们说,世界上什么最难?大臣回答:“世界上说话最难。”大臣没有说出来的隐含的意思是:说话最难,尤其是 和国王说话最难。在一次培训中,我也问在场的学员:“你们认为自己 ...
马化腾这个人,公众面目很不清晰,他极少向外界强烈地传递过什么精神,宣讲过什么世界观和方法论。他很少发脾气,性格和谐而不偏激。说实话,如果你不认识其他的互联网老板,你就不可能对这小马有清晰地认识。只有在 ...
1.avi格式代码片断如下: <object id="video" width="400" height="200" border="0" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"><param name="ShowDisplay" value="0"><param name="ShowControls" value="1" ...
<script>   function   test(){   document.f1.action= "Chkuser.asp" //document.f1.target="NewWin"   document.f1.submit()       document.f1.action="Chkuser1.asp" document.f1.target="NewWin"   document.f1.submit()       }   </script>   <form a ...
方法一: <html> <head> <title>Untitled Document</title> (1)自动提交表单: <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> </head> <script language=javascript> setTimeout("document.form1.submit()",10000) </script> ...
实施修复,方法有很多在这里介绍两种,咱们使用第2种 方法1: Replace过滤字符    解决方法:查找login.asp下的<from找到下边的类似    username=request.Form("name")    pass=request.Form("pass")    修改为:    username=Replace(request.Form("name"), "’", "’’")    pass=Replace(request.Form("pass&q ...
1)隐藏滚动条<body style="overflow-x:hidden;overflow-y:hidden">(2)如何在单元格或图层中出现滚动条<div style="width:200px;height:200px;overflow-x:auto;overflow-y:auto;"></div>(3)javascript改变框架中滚动条的样式,比如改变颜色、改为平面效果等<STYLE>  BODY   {SCROLLBAR-FACE-COLOR:   #ffcc99;                S ...
asp 字符串包含函数 <%ab="abcdefg"你可以用Instr()或者InstrRev()来判断 if Instr(ab, "a")>0 then或if InstrRev(ab, "a")>0 then qq:9231333 http://www.yy66.net 有else无 %> instr   VB和VBS函数  【名称】   InStr   【类别】   字符串函数   【方法】   InStr([start, ]string1, string2[, compare])   【参数 ...
<% server_v1=Cstr(Request.ServerVariables("HTTP_REFERER"))//获取地址栏中的地址,并将它赋给server_v1 server_v2=Cstr(Request.ServerVariables("SERVER_NAME"))//获取url中的域名信息,赋给server_v2if mid(server_v1,8,len(server_v2))<>server_v2 then 或 ...
<%on error resume nextset conn=server.createobject("adodb.connection")connstr="Provider=Microsoft.jet.oledb.4.0;data source="&server.mappath("1.mdb") conn.open connstrif err thenresponse.write "数据库连接出错哦。"response.endend if%> <% filespec=server.ma ...
Request.ServerVariables("Url") 返回服务器地址   Request.ServerVariables("Path_Info") 客户端提供的路径信息 Request.ServerVariables("Appl_Physical_Path") 与应用程序元数据库路径相应的物理路径 Request.ServerVariables("Path_Translated") 通过由虚拟至物理的映射后得到的路径 Request.ServerVariables("Script_Nam ...
Global site tag (gtag.js) - Google Analytics