Introduction to ASP Programming (16): Operation of the FSO component drive

FSO, as exciting as the UFO, fascinating, of course, more people are happy to let people worry. You do not see a space service provider advertising: 100MB space as long as 60rmb/years, supporting the database, support what what ... A question does

Launch an ASP code to attack the Taiwan national Flag Design Network

Password login test after running test.htm ~! -------------------------test.htm code is as follows: marginheight= "1" border= "0" scrolling= "no" > --------------------------test.asp code is as follows: ' This code is only for attack the

ASP generates picture verification Code program codes

The code is as follows Copy Code Call Com_creatvalidcode ("code") Sub Com_creatvalidcode (PSN)' Disable cachingResponse.Expires =-9999Response.AddHeader "Pragma", "No-cache"Response.AddHeader "Cache-ctrol", "No-cache"'

ASP search for files or folders

This search tool allows you to search for words or phrases on your site, and the resulting page will display the title of your visitors page and a link to it.You only need to include bellows in the form of your Web page: HTML page. Search term or

ASP Simple Chat Room program two

ASP Simple Chat Room program two var nothing;Response.AddHeader ("Cache-control", "No-cahce");if (! Session.Contents ("Chat_user")){Session.Contents ("chat_user") = "Guest";Session.Contents ("chat_time") = (new Date). GetTime ();}if

ASP read pictures or flash width

ASP read picture or flash height wide, Function Getflashandpic (url,height,width)Dim sextname,extname,strtempsextname = Split (URL, ".")Extname = Sextname (UBound (sextname))If LCase (extname) = "swf" Thenstrtemp = " "Elsestrtemp = " "End

ASP generates picture thumbnail code

'======================================================' File name: inc/clsjpeg.asp' File function: Watermark + thumbnail class' Last Updated: 2008.08.02'====================================================== Dim

ASP long article paging code

Last time I wrote a long PHP article pagination code used to explode to the implementation of segmentation, today we talk about ASP article pagination code and long article pagination and ASP long article pagination method. Function c2u (MyText)Dim

ASP removes all HTML tag regular expressions

Function Removespan (ByVal strcontent)Dim Objreg, strtmpIf strcontent= "" OR ISNull (strcontent) Then Exit FunctionSet objreg=new REGEXPObjreg.ignorecase =trueObjreg.global=trueObjreg.pattern= "]*) >| "Strtmp=objreg.replace (Strcontent, "")Set

ASP picture File upload code full version

Set Upload=new Upload_fileIf Upload.form ("act") = "UploadFile" ThenFilepath=trim (Upload.form ("filepath"))Filelx=trim (Upload.form ("Filelx"))I=0For each formName in upload. FileSet File=upload. File (FormName)Fileext=lcase (file. Fileext) ' The

ASP Database Connection Program

On Error Resume NextResponse.Buffer = TrueDim startimeDim connDim connstrDim Sqldatabase,sql_pass_word,sql_user_id,sql_data_sourceStartime=timer ()Set conn = Server.CreateObject ("ADODB. Connection ")ConnStr = "Provider=SQLOLEDB.1; Password= ' 888885

ASP UBB Code conversion function

ftp

function Encodestr (str)Str=trim (str)Str=replace (str, "Str=replace (str, ">", ">")Str=replace (str, "'", "" "")Str=replace (Str,vbcrlf&vbcrlf, "")Str=replace (Str,vbcrlf, "")Encodestr=replace (str, "", "")End Function function Ubbcode

ASP picture File Deletion code

function Delectimagefile (newsid,i) Set Delectfile=server. CreateObject ("Scripting.FileSystemObject")Currentpath=server. MapPath ("images/news/")Filename=currentpath & "& NewsID &"-"& I &". gif " If Delectfile.fileexists (FileName)

ASP character handler function

function get_substring (str,length)Dim resultresult = StrIf Len (str) >length Thenresult = Left (str,length-1) & "..."End IfGet_substring = resultEnd Function function GetPage (page)Dim resultIf IsNull (page) or IsEmpty (page) or (not IsNumeric

Frog Frog Recommendation: Skillfully use the cache to improve the performance of ASP program

But when you modify the database how to let application update, this article provides you with a reasonable solution, If anyone has a better algorithm, please post a discussion, thank you --> Class wawa_app_getrows Public Function wawa_get_list

ASP Programming Essentials ABC One

ASP Programming Essentials ABC Using Server.MapPath Use Server.MapPath () as much as possible to represent files stored on the server, rather than static absolute paths. Because, if you take a static absolute path, when the Web path changes, it will

Optimize ASP Program performance (RPM)

Active Server pages enables dynamic pages to be executed quickly, but by adding skills to the connection to the database in your code, you can make the program execute faster. This is an article on how to refine the script and ASP features to

ASP login to save data to cookies

This is based on the user's choice whether to allow the user name password to be saved in the cookie Oh, we pay special attention to the code blue codes Oh. Set Rs=server.createobject ("Adodb.recordset")Exec= "SELECT * from Yrwl_tb_admin where yhm=

ASP save remote server picture to Local

'==================================================' Procedure name: Saveremotefile' Function: Save remote files to local' Parameter: localfilename------local filename' Parameter: remotefileurl------remote File URL'===================================

ASP code Generation Program

Option ExplicitResponse.buffer=trueNumcodeFunction Numcode ()Response.Expires =-1Response.AddHeader "Pragma", "No-cache"Response.AddHeader "Cache-ctrol", "No-cache"Dim znum,i,jDim ados,ados1Randomize TimerZnum = CInt (8999*rnd+1000)Session ("GetCode"

Total Pages: 1800 1 .... 1035 1036 1037 1038 1039 .... 1800 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.