后端

asp生成excel

aspasp生成excel

Dim xlWorkSheet Dim xlApplication Set xlApplication = Server.CreateObject("Excel.Application") xlApplication.Visible = False xlApplication.DisplayAlerts=False xlApplication.Workbooks.Add Set xlW...

asp / 2018-06-02

asp长文章分页

aspasp长文章分页

dim sContent,tempContent,pgCount,pageStr,currentPage currentPage=Request.QueryString("page") if currentPage="" Then  currentPage=1 Else currentPage=CLng(currentPage) end if pgCount...

asp / 2018-06-02

asp随机密码

aspasp随机密码

Function getCode(iCount)      Dim arrChar      Dim j,k,strCode      arrChar = "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"      k=Len(...

asp / 2018-06-02

asp动态生成xml

aspasp动态生成xml

<!--#include file="../inc/conn.asp" --> <% dim rs,sql,id,title,url,strTemp id=Request.QueryString("id") title=request.Form("title") url=request.Form("url") if id<>"" then sq...

asp / 2018-06-02

asp购物车源码

aspasp购物车源码

cart.asp <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htm...

asp / 2018-06-02

php数字分页

phpphp数字分页

if($page<=1){ echo '<li><a href="?page=1"><<</a></li>'; } else{ echo '<li><a href="?page='.($page-1).'"><</a></li>'; } $num=5; $st...

php / 2018-06-02

asp+ajax版的购物车

aspasp+ajax版的购物车

<!--#include file="conn.asp" --> <!--#include file="inc/cart.asp" --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transition...

asp / 2018-06-02

asp链接excel2016

aspasp链接excel2016

set connXls = Server.CreateObject("ADODB.Connection") connXls.ConnectionString="Provider=Microsoft.ACE.OLEDB.12.0;Persist Security Info=False;Data Source="&Server.MapPath("database/Test.xlsx")&am...

asp / 2018-06-02

PHP高效率写法(详解原因)

phpPHP高效率写法(详解原因)

1.尽量静态化:    如果一个方法能被静态,那就声明它为静态的,速度可提高1/4,甚至我测试的时候,这个提高了近三倍。    当然了,这个测试方法需要在十万级以上次执行,效果才明显...

php / 2018-01-26

PHP随机生成字符 可自定义位数,大小写,去掉相似字符

phpPHP随机生成字符 可自定义位数,大小写,去掉相似

/*函数-生成随机字符串,     $num,指定生成位数,     $similar 是否包含相似字符     $type 字符类型 true 大写.false 小写     */     function randText(...

php / 2018-01-26

共640条共64页10条/页«2526272829»
意见反馈