Time of Update: 2017-01-13
index.asp教程 上傳示範img_class.asp 擷取圖片的高度和寬度的類oupload.asp 上傳處理conn.asp 這個就不用我來說了。串連資料庫教程的。upload_class.asp採用艾恩無組件上傳類可以通過oupload.asp進行設定上傳檔案類型,大小,是否開啟產生縮圖,預設是開啟的。。但是要你的空間支援:aspjpeg組件。。現在的空間基本都支援.<!--#include
Time of Update: 2017-01-13
<%@language="vbscript" codepage="936"%><%dim conn,rs,sqlstr,ip,iptime,iptime2,newusernewuser=0set conn = server.createobject("adodb.connection")set
Time of Update: 2017-01-13
ansi的本地編碼,都是各國自己定義的,沒有固定的檔案頭格式,在大陸中文作業系統下,是可讀的gb2312,在其他語言的系統下,就是亂碼,所以這部分沒必要再詳細區分。ansi:無格式定義unicode:前兩個位元組為fffeunicode big endian:前兩位元組為feffutf-8:前兩位元組為efbbfunction checkcode(path)set
Time of Update: 2017-01-13
function checkdomain(){ var domain = document.getelementbyid("domain").value; &
Time of Update: 2017-01-13
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"><html><head><title>後台</title><meta http-equiv=content-type content="text/html; charset=gb2312"><% set
Time of Update: 2017-01-13
代碼如下 複製代碼 '以下為批量產生程式 if request("type") = "update" then%> <% set ru=server.createobject("adodb.recordset")
Time of Update: 2017-01-13
class createexcel private createtype_ private savepath_ private readpath_ private authorstr rem
Time of Update: 2017-01-13
function get_file($url,$folder){ set_time_limit (24 * 60 * 60); $destination_folder = $folder?$folder.'/':'';//檔案下載儲存目錄 $newfname = $destination_
Time of Update: 2017-01-13
<%if webbanner<>"" thenqq=split(webbanner,",")for n=0 to ubound(qq)myqq=myqq+qq(n)+":"next%><html><head><meta http-equiv="content-type" content="text/html;
Time of Update: 2017-01-13
set fso=server.createobject("scripting.filesystemobject") set f = fso.getfolder(spp) set fc = f.subfolders i=1 i2=1 for each f in
Time of Update: 2017-01-13
<% '============================================== '函數名:contentpage '作 用:內容分頁 '參 數:1、ocontent ----- 文章內容
Time of Update: 2017-01-13
<%dim database,conn,connstrdatabase="example.mdb" '資料庫教程名稱set conn=server.createobject("adodb.connection") '建立connection對象'provider參數設定資料庫的驅動程式,access使用ole db驅動程式;data
Time of Update: 2017-01-13
文章提供一款簡單asp教程 ajax 執行個體(post,get,form測試)哦,他做了三個相關ajax asp測試執行個體,都通過了。index.html<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.111cn.net/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html
Time of Update: 2017-01-13
資料庫連接代碼<%dbname="chatroom.mdb"set conn=server.createobject("adodb.connection")connstr="dbq="+server.mappath(dbname)+";driver={microsoft access driver (*.mdb)};"conn.open
Time of Update: 2017-01-13
dim wstr,str,url,start,over,dtime url="http://mb.111cn.net/" wstr=gethttppage(url) body=wstr<% '用asp擷取遠程目標網頁指定內容on error resume next server.scripttimeout=9999999 function gethttppage(path) t = getbody(path) gethttppage=bytestobstr(
Time of Update: 2017-01-13
1.簡單變數的聲明 2.陣列變數的聲明 3.變數的賦值 4.變數的範圍和存活期 執行個體:example8.asp<% x=1 call setprocedurevariable '調用setprocedurevariable過程 response.write x '在網頁上顯示x的值 sub
Time of Update: 2017-01-13
<html><head><title>asp站內搜尋源碼</title></head><body><form name=form1 action=keywords.asp method=post><p>請輸入關鍵字:<input type=text name=key size=30><input type=submit name=submit
Time of Update: 2017-01-13
<%'============================================'函數作用:遠程圖片自動儲存到本機伺服器'修改時間:2006-7-3 21:21'傳人蔘數:' localfilename:本地檔案名稱' remotefileurl:遠程檔案url'============================================sub saveremotefile(localfilename,remotefileurl)dim
Time of Update: 2017-01-13
sub writedata() dim reccnt,i dim fieldname1,fieldname2,fieldname3 dim conn dim sqlstr,connstr connstr="provider=sqloledb.1;initial catalog=mydatabase;data source=myhon;user id=sa;password=" set
Time of Update: 2017-01-13
server.scripttimeout=20session.timeout=45 'session有效時間const mss="explorer_" 'session首碼const password="codefans.net" '登入密碼const copyright="<div align=""center""