Browse file directories by file size using FSO and delete operations

function Judgepararegular (IntID) If intid<> "" and IsNumeric (IntID) Then Judgepararegular=intid Else Response.Write "Input Error!" " Response.End End If End Function Intfilesize=judgepararegular (Request.QueryString

Building a virtual host free from the FSO threat (i)

Most of the virtual hosts now disable the ASP's standard components: FileSystemObject, because this component provides the ASP with the formidable file system access ability, may carry on the server hard disk any files to read, writes, copies,

IE feature Summary

  Classid=clsid:8856f961-340a-11d0-a96b-00c04fd705a2>

The powerful features of the FSO

stupid Wolf code big Butler Body { Font-size:12; BACKGROUND: #DADADA; Margin-left:5; } . folder { font-size:18; Cursor:hand; } . Foldericon { Color:navy; Font-family:wingdings; font-size:18; Cursor:hand; } .

Use FSO to import text information into a database

In developing Web applications, we often need to process drives, folders, and files in a file system, such as collecting information about drives, creating, adding, moving, or deleting folders and files. A new set of the FSO (File system object)

FileSystemObject processing files

There are two main types of file processing: Create, add, or delete data, and read files Moving, copying, and deleting files Create a file There are three ways to create an empty text file (sometimes called a "text stream"). The first method is to

A function that determines whether a character or string is contained in an array In_array

  code is as follows copy code      $arr _1=array (         "Index/logo.png",          "Www.111cn.net/play.png",         "Movie/stop.png",         "Game/war_p.png",         Game /starcaft_p.png ",        " Music/fly.png "    )

Usage of JS Dom for image

The Document object is an object of the BOM, that is, window.document==document, but it also belongs to the DOM and is also a representation of the HTMLDocument object of the HTML DOM, which is also the XML DOM Document object. Most of the

JS determines whether the input box is empty

  code is as follows copy code js to determine if the input box is empty   function check ()  {   var TextValue = Document.getelentbyid (' txt '). Value;   if ( TextValue = = "")   {    alert (' Please enter content '

JS Judge object is div or input box

The code is as follows Copy Code ElementType = document.getElementById (' Returnfield '). Type;if (ElementType = = "Text" | | elementtype = = "textarea")//there are some more{document.getElementById (' Returnfield '). Value =

Network earning-precautions for online earning registration by clicking "Chinese"

1. Select an online earning project. The biggest feature of Chinese click online earning is that there are many new sites, and there are inevitably unstable sites. When a newbie chooses a Chinese term and clicks an online earning project, he can go

Increase the revenue of Google Adsense

The billing method of Google adsense is complex. It consists of the number of web pages displayed, the number of clicks, the click rate, and the advertising revenue (ecpm) displayed each thousand times, the advertising revenue (ecpm) effectively

Use Google adwords to invest in domain names

When someone visits this domain name and clicks an advertisement, the domain name owner will be able to earn money. Generally, the domain name parking service provider is provided, and a program page is prepared in advance so that you can resolve

A simple bbs (5)

Display Page disp. asp:DBPath = Server. MapPath ("bbs. mdb ")Connection. Open "driver = {Microsoft Access Driver (*. mdb)}; dbq =" & DBPathSet RS = Connection. Execute ("SELECT * FROM bbs where id = topnum order by id desc ")Set conn = Server.

Source code of my own chat room (6)

************* ************ user suicide Function input (tt)Dim SC _name, SC _pass, SC _flagSC _flag = 0'NameSC _name = ""SC _name = trim (mm (1 ))If SC _name = "" thenMsg ("must enter: your nickname ")SC _flag = 1End ifSC _pass = ""SC _pass = mm (3)

Source code of my own chat room (4)

***************** ********************** user registration Function input (tt)Dim SC _name, SC _sex, SC _pass, SC _pass1, SC _flagSC _flag = 0'NameSC _name = ""SC _name = trim (mm (1 ))If SC _name = "" thenMsg ("must enter: your nickname ")SC _flag

Getting started with stored procedure

Getting started with stored procedureCreate procedure procedue_name[@ Parameter data_type] [output][With] {recompile | encryption}AsSQL _statementOutput: this parameter can be returned.With {recompile | encryption}Recompile: indicates re-compiling

Dynamically create TABLE rows and columns

Column 1 Column 2

Use Web Services to upload files

Create a Web Services service,Public string UploadFile (byte [] fs, string FileName) {Try {/// Define and instantiate a memory stream to store the submitted byte array.MemoryStream m = new MemoryStream (fs );/// Define the actual object and save

Source code of my own chat room (10 _ 2)

If trim (request. form ("who") <> "all" thenIf isnumeric (request. form ("time1") thenSC _who = session ("ss_name ")SC _who1 = trim (request. form ("who "))SC _time = cstr (now)SC _time1 = cstr (dateadd ("n", cint (request. form ("time1"), now ))SC _

Total Pages: 64722 1 .... 45332 45333 45334 45335 45336 .... 64722 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.