Tutorials to .com

Tutorials to .com » Asp » ASP File System Object

ASP File System Object Articles


1: Automatically generated using the function n layer directory
To check whether the directory already exists, and if there is not any treatment, if it does not exist to create. I hope to quickly develop useful to you. CheckFolder.asp <% '************************************************* *************...

2: A simple analysis of the HTML virus
This has been something to write, but to go to work, said to go to work, do not write, go home and then busy playing games, throwing one side. Had not been doing regular jobs now open to write, I hope my head does not know the blog. Ha ha long time ...

3: Collection of commonly used functions of Oracle
Value function: abs (m) m the absolute value of mod (m, n) m by n addition to the remainder after power (m, n) m of the n-th power round (m [, n]) m rounded to the decimal value of n-bit (n default of 0) trunc (m [, n]) m cut-off n-bit decimal ...

4: Commonly used ASP function
Commonly used ASP function, of a hope that can be used. <% dim db db = "dbms.mdb" '************************************************* ***************** 'The implementation of sql statement does not return value, sql statemen...

5: FSO to obtain the image file with the information (size, width, height)
<% '':::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::: '':::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::: ''::: BMP, GIF, JPG and PNG::: ''::::::::::::::::::::::::::::::::...

6: Using XML + FSO + JS to achieve server-side file
First of all, the server side to create a procedure to generate XML documents in order to return to the client, (getfolder.asp) <% 'written by Linzhang Chen ,2003-4-20 'Reprint please specify the source and retain the copyright informa...

7: Principles of secondary domain names, as well as procedures
Principles of secondary domain names, as well as procedures for applications to open [the general framework of type II domain] To achieve the effect of two must be about the conditions and processes: 1, there must be a top-level domain, but this d...

8: Image files using FSO to obtain information
<% '::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::: '::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::: '::: BMP, GIF, JPG and PNG::: '::::::::::::::::::::::::::::::::::::::::::::::::: ::...

9: ASP, FSO directory traversal and file directory
<% @ Language = VBScript%> <% 'I wrote a directory traversal and file directory of the function, %> <% function bianli (path) set fso = server.CreateObject ( "scripting.filesystemobject") on error resume next set...

10: No template, only ASP + FSO to generate static HTML pages of a method
FSO to generate static HTML document template tags to replace has been a very troublesome problem, at least I think so, and also other things to make a template, trouble! I have noted there is a way to solve this problem Index.asp as a normal page,...

11: FSO read TXT file
<!--# include file = "dbconn.asp" -> <% function ReadFile (filename) on error resume next err.clear 'ASP a wrong way to school Const ForReading = 2 Const Create = false Dim FSO DIM TS DIM filepath DIM thefile Dim c...

12: The power of FSO
<HTML> <HEAD> Stupid wolf <TITLE> big code </ TITLE> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <style> body ( font-size: 12; BACKGROUND: # DADADA; margin-lef...

13: FSO to open
This is my way, please learn from. On / Off system to support the method of FSO windows98 system DOS command line in the state, enter the following command: Close the command: RegSvr32 / u C: \ WINDOWS \ SYSTEM \ scrrun.dll Open a command: RegS...

14: Page How do I know the actual size of the image?
The following two documents: <!--# include virtual = "/ intels / chunfeng / graphicdetect.asp" -> <html> <head> <TITLE> Size image </ TITLE> </ head> <body bgcolor="#FFFFFF"> <%...

15: FSO object of ASP in IIS WEB server data security threats and countermeasures
scripting.filesystemobject is provided by many scrrun.dll for vbscript / jscript control one of the com object. scripting.filesystemobject provide a very convenient directory of text files and access, but also data on the iis web server a certain se...

16: Threat from the FSO to build a virtual host (a)
Now the vast majority of the virtual host are disabled in the standard ASP components: FileSystemObject, because the components for the ASP provides a powerful file system access, the server can be any file on your hard disk to read, write, copy, de...

17: Construction of a threat to the virtual host from the FSO (b)
In the pop-up "group selection" dialog box to find "Guests", point "add", the group will appear in the text box below, then "OK": <IMG SRC="http://202.100.116.12/paddy/bbsimages/fsosafe/007.gif" ...

18: Construction of a threat to the virtual host from the FSO (c)
Will pop up as follows the "security" warning point "delete": <IMG SRC="http://202.100.116.12/paddy/bbsimages/fsosafe/012.gif" border=0> At this time the Security tab of all groups and users will be empty (if no...

19: Traversal function to sort files
<% function bianli (path) 'initiate path = server.mappath (path) set fso = server.CreateObject ( "scripting.filesystemobject") set objFolder = fso.GetFolder (path) set objfiles = objfolder.files 'The file name and file pa...

20: asp commonly used in document processing function
asp file upload, as well as dealing with often used to delete a custom function <% ''''''''''''''''''''''''''''''''&...


Page 1 of 4
[1]   [2]   [3]   [4]