后端

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

PHP+Uploadify 3.2使用实例

phpPHP+Uploadify 3.2使用实例

演示效果: Html代码: <!doctype html> <html> <head>     <link rel = "stylesheet" type = "text/css" href = "./Plugins/uploadify.css">     <...

php / 2018-01-26

PHP按行读取文件 去掉换行符”\n” 的3种方法

phpPHP按行读取文件 去掉换行符”\n” 的3种方法

PHP按行读取文件 去掉换行符”\n”: 第一种: $content=str_replace("\n","",$content);  echo $content; 或者: $content=str_replace(array("\n","\r"),"",$content); 第二种: $content=p...

php / 2018-01-23

共698条共70页10条/页«3132333435»
意见反馈