Highlight ASP Article original code (turn)

Highlight ASP Article original code Add Time: October 29, 2000 source site: China Technology Network ' File:CodeBrws.asp ' Overview:this formats and writes the text of the selected page for ' The View Script Button ' This file is provided as part

An ASP template class

An example of a template from a class to an instance This class still has a lot of imperfections (such as efficiency), I hope we discuss together, master a lot of correct. ----------------------------------------------------------------------- First,

Attachment: Source Code 3:bbssendinfo.asp

Id=trim (Request.QueryString ("userid")) ' Gets the current user name, which is himself (equal to session ("UserID") If Request.QueryString ("act") = "send" Then ' get current operation status Who=trim (Request.Form ("who")) ' If the status is sent,

asp.net Web page In-depth discussion

Introduction to the Basics of server scripting First, let's review the basics of how Web Server Pages are executed: 1, the client through the browser's address bar typing address to send the request to the server side 2, the server received the

How to implement Ping in ASP (to Tracy)

How to implement Ping in ASP Use WSH to call the system's ping command, redirect the Ping's results to a text file, and then display the text file to the Web page The following are specific practices: First, build one. BAT file (for example:

ASP anti-acquisition Code II

User_agent=request.servervariables ("Http_user_agent")Http_reffer=request.servervariables ("Http_referer")Server_name=request.servervariables ("SERVER_NAME")' Check if the current user is Spider-Manfunction Check (user_agent)Allow_agent=split

ASP Read Page Keywords

chr

' To get the keyword pageRemoteurl = "http://111cn.net " ' Create a XMLHTTP connectionSet Objxml = CreateObject ("Microsoft.XMLHTTP")Objxml.open "Get", Remoteurl, FalseObjxml.send ' Get the return dataResponsepage = Objxml.responsetext Set Objxml

ASP Simple Chat Room program A

A lot of the previous chat room program Oh, only use two files Oh. Let me see the first HTML file. asp Simple Chat Room program #000000 #ff0000 #008000 #0000ff #800080 #008080 #808000 to #000000 #ff0000 #008000 #0000ff #800080 #008080

ASP generates static file code

Dim rs,sql,htmlcontent Dim Channelrootdir,strinstalldir,strindexname Dim flashid,downid,showurl,errmsg Dim Strtitle,straddress,addtime Dim allhits,introduce,filesize Dim Htmlfileurl,htmlfilename,strurl Newasp.readchannel (Channelid) Channelrootdir =

ASP intercepts Chinese-English character program

chr

In fact, this method to limit the number of words there are defects, that is, in the interception, English mixed words, English also intercepted by a word The following is a modified function, for the landlord reference The calling method does

ASP to implement FTP code

md5

'**************************************************' * Author: awaysrain (absolute 0 degrees) *' * Completion time: 2003-10-10 *' * Test environment: win2000server,serv-u 4.2-beta Version *'**************************************************Dim

ASP to realize English online translation

Online Translator ' On Error Resume Next ' If the speed is slow, you can adjust the following time. Per second Server.ScriptTimeout = 999999 '======================================================== ' Character encoding function '================

ASP Save Remote Pictures

ASP Implementation Remote save Picture Source code example:ASP Implementation Remote save Picture Function showpic (str)Set objregexp = New Regexp ' Set Configuration objectObjregexp.ignorecase = True ' ignores caseObjregexp.global = True ' Set to

ASP read the files in the directory

Dim spath, oFSO, Ofout, File spath = "plugin/" Set oFSO = Server.CreateObject ("Scripting.FileSystemObject") Set ofout = Ofso.getfolder (Server.MapPath (spath)) Response.Write "" & _ "" & _ " file name " & _ " file short path name " & _ " File

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 processing multi-keyword query instance code

In web development, I often encounter multiple keyword pairs of a single field query, I usually through a dynamic array to achieve. Of course, a number of keywords are generally used in space or, separated, I this several assumptions with a number

Simple and efficient ASP paging program

' =================================================== ======================= Dim Idcount ' Total Number of records Dim pages ' per page number Dim Pagec ' Total Pages Dim page ' Page Number Dim Pagenc ' Paging per page Number of page numbers

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 article common paging function

'------------------------------------------------------------ '------------------------------------------------------------CLASS paginationPublic PageSize ' How many records are displayed per pagePublic AbsolutePage ' current pagePublic BaseURL '

ASP no component File upload code

File Upload Fuptype=session ("Fuptype") ' Upload typeFupname=session ("fupname") ' filenameFrmname=session ("Frmname") ' form nameBdname=session ("Bdname") ' Table Single-nameIf fuptype= "" or fupname= "" or frmname= "" "ThenResponse.Write

Total Pages: 1800 1 .... 1475 1476 1477 1478 1479 .... 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.