ASP delete data and delete pictures at the same time code _ application Tips

First method: This is the code that deletes the picture of the word segment. Simple, because the picture field already exists in the Bookpic field of the database table. Copy Code code as follows: Fileid=trim (Request ("Fileid")) '

A section of ASP single page display folder under all the pictures code _ Application Tips

Copy Code code as follows: Dim fso,objfolder,objfiles Dim filelist Set fso=server.createobject ("Scripting. FileSystemObject ") Set Objfolder=fso. GetFolder (server. MAPPATH ("thumbs")) Set Objfiles=objfolder.files ' The filename of the

ASP is the date converted to the constellation function _ Application Tips

Copy Code code as follows: function Astro (birth) Astro= "" If birth= "" or not IsDate (birth) Then Exit function Birthmonth=month (birth): If BirthmonthBirthday=day (birth): If BirthdayBirth=trim (Birthmonth & Birthday) ' Reforming month,

A new method for ASP dynamic page anti-collection--Application techniques

Yesterday I saw an anti-capture software on the Internet, said acquisition only access to the current page, will not visit the Web page pictures, JS, and so on, today suddenly thought, through the dynamic program and JS access to record the IP of

ASP to determine whether the search engine spider code _ Application skills

Copy Code code as follows: function Getbot () ' Query spider Dim s_agent Getbot= "" S_agent=request.servervariables ("Http_user_agent") ' critical judgment statement If InStr (1,s_agent, "Googlebot", 1) >0 Then getbot= "Google"

ASP return Reference type function code _ Application Tips

Copy Code code as follows: Set studentinstance = Createstudent () If not IsNull (studentinstance) Then Response.Write ("StudentID:" &studentinstance.) studentid& "") Response.Write ("Studentname:" &studentinstance.) studentname& "") End If

ASP is implemented to clear HTML text Format function code _ Application Tips

Copy Code code as follows: '/* Function name: zxj_replacehtml clearhtml '/* Function language: VBScript Language '/* Function: Clear file HTML Format function '/* Pass parameters: Content (note: What needs to be cleared) '/* Function Author:

Application Techniques of memory cache application_ with ASP

function GetCache, the desired cache is automatically created. Copy Code code as follows: Function GetCache (Funsname,isreset,isarr,timeinfo) ' funsname-need to cache the content, here to enter a function name ' isreset– Update [value:

ASP Read XML Instance code _ Application Tips

Language.xml Copy Code code as follows: Simplified Chinese SimpilifiedChinese images Traditional Chinese TraditionalChinese imagesBig5 ddd Sl.asp Copy Code code as

ASP implementation of long article pagination _ Application Skills

' Processing receive paging parameters, display page number is also default first ' Page This parameter is to let the variable Pagenum to show the first also get value: 0 If Request ("page") = "" Then Pagenum=0 ' Here is the page connection

ASP Helper Code _ Application Tips

Secondary codeClick to return to the previous page code: Copy Code code as follows: Pop-up warning Box code: [Ctrl + A All SELECT Note: If the need to introduce external JS

The application technique of the ASP to realize the random transformation of Avatar image

Copy Code code as follows: Dim p, Ppic, ID, body, mycache Randomize P=int ((3*rnd) +1) Id= request.querystring ("id") Httpurl= "http://sms.2e7.net/cute cartoon 0" &p& ". gif" Set Mycache = new cache Mycache.name = "Picindex" &id If

Using ASP code to break the image of the anti-theft link _ application Skills

code from the Internet, and slightly modified some places, its practical is the cache class. Save code for, for example, pic.asp Use: Yun_qi_img/log.gif Not only is 163, in fact, is a lot of anti-theft pictures can be this realization. '

Invoke remote ASP scripts without refreshing the page application tips

1. Please build a database in SQL Server name:house run the following script in house if exists (select * from sysobjects where id = object_id (n´[dbo].[ City]´) and OBJECTPROPERTY (ID, N´isusertable´) = 1) drop table [dbo]. [City] Go if exists

ASP speed-Raising skills recommendation _ Application Skills

One technique: Improving the efficiency of using the request collection Accessing an ASP collection to extract a value is a time-consuming process that takes up computational resources. Because this operation contains a series of searches for the

How to manage NT accounts through ASP application skills

'============================================================= ' Thank you for using the utility function program developed by the ASP001 studio ' HTTP://WWW.ASP001.NET ' ============================================================= ' ASP001 studio

Use ASP to list NT user groups and users _ Application Tips

============================================================= ' Thank you for using the utility function program developed by the ASP001 studio ' HTTP://WWW.ASP001.NET ' ============================================================= ' ASP001 studio

Asp+js three-level linkage pull-down Menu [invoke database data]_ application tips

Online Three-level menu is much more but the code is more annoying, I should say this is more intuitive: ' must be connected to the database first, needless to say. ' Database structure ' Category 1 Table name: A field: Id,name Description: ID The

Code-application techniques for implementing random grouping programs in ASP

Copy Code code as follows: Function Makegroup (Teams () as String) as String ' function function: Randomly grouping 32 teams in a teams array. (Note: Teams array subscript starting from 0) ' The variable definition of the function. ' It's

Powerful use of ASP to obtain DLL encryption news content _ Application Skills

chr

Here's the code: Copy Code code as follows: On Error Resume Next Dim objXmlHttp, XML Set XML = Server.CreateObject ("Microsoft.XMLHTTP") Xml. Open "Get", "http://chanye.finance.sina.com.cn/yj/2005-01-05/236914.shtml", False Xml. Send

Total Pages: 1800 1 .... 1294 1295 1296 1297 1298 .... 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.