Original Author: Loster
' Function name: Chk_email ()
' Return value: Boolean (True to pass, false to failed)
' Parameters: Email (email to be judged, type: string) type_1 (whether to judge domain after @, type: Boolean)
' Type_2 (can only be a
FSO file (file) object propertiesDateCreated returns the date and time the folder was createdDatelastaccessed returns the date and time the file was last accessedDateLastModified returns the date and time the file was last modifiedDrive returns the
ASP tutorial. net file bulk upload download code and detailed descriptionprivate void Downloadcompressfile (){Create File Packagelist lists = new list ();if (DeluxeGridFiles.SelectedKeys.Count > 0){for (int i = 0; i {Companyfiledomain companyfile =
Welcome Nofeehost
We offer top-class web hosting services for free. We combine the most advanced Windows host features to give you complete flexibility and reliability for your site. The following is a brief, we provide the function
Free
Free space with ASP
MB of disk spaceFor a limited time, there is no advertisingFTP Access AccountStandard ASP ScriptsUnlimited bandwidthTechnical Support via emailMicrosoft Access databaseWeb-based File ManagerNo file type Limit *No File size limit
Free spacePrice: 0 RMB100M free universal space, support PHP, ASP, asp.net, Access database.In order to provide a long-term and stable service, the site will be used in the space of the website 24 hours only play an IP window ads, do not affect the
Price 0 yuan/yearWeb space 30M can bind domain name 3IIS concurrency number 50 CPU usage not LimitedBound subdirectory does not support network traffic not LimitedFile size does not limit file type unrestrictedComplimentary database withoutGift
This class machine uses the high configuration Cluster server, greatly enhances the performanceHas the management control Panel, can carry on the FTP password and so on many items real-time change.Supports JavaScript and/vbsript client
1.AtEndOfStream
This property indicates whether the end of the entire text file has been reached. Its value is "TRUE" or "FALSE"
2.CreateTextFile
Used to create a new text file
Parameters in the 3.OpenTextFile () method
Written by Saucer (Shi):
Whichfolder=server.mappath ("") & "/"Dim FS, F, F1, FCSet fs = CreateObject ("Scripting.FileSystemObject")Set f = fs. GetFolder (Whichfolder)Set FC = F.files
For each F1 in FCResponse.Write (F1.name & "")Next%>
Instance
The size of the property used to return the size, in bytes, of the specified file or folder.
GrammarFileobject.sizeFolderobject.size
For example, a file object
Dim fs,fSet Fs=server.createobject ("Scripting.FileSystemObject")Set F=FS. GetFile ("c:
ASP FSO IsRootFolder and Fiilesystemobject Drive properties Let's take a look at the FSO Dirve attribute usage.
The drive uses the property restitution drive in the specified file or folder.
GrammarFileobject.driveFolderobject.drive
For example,
First, the basic knowledge of ASP
1. ASP is the abbreviation for active Server pages and is an interpreted scripting locale;
2. The operation of the ASP requires Windows operating system, the installation of PWS is required under 9x, and NT/2000/XP
WebService is the encapsulation and replenishment of a SOAP protocol based on the HTTP protocol, and if you consider a public-stable interface, you can try to think about it.As to whether the socket and HTTP, webservices are put together to compare
Error handling for 4.3.4 server objects
The ASP has been criticized for not having error-handling mechanisms.
In VBScript, there is an on Error Resume Next statement that causes the script interpreter to ignore Run-time errors and continue the
Presumably the idea is
Abc=select name from login name = ' name '
Rs.Open abc,conn,1If not Rs. EOF ThenHave recordsElseNo recordEnd If
Specific methods
asp.net how to query whether a record is in a table if it exists, return the information to
Move Move method moves to the specified file or folder from one location to another.Grammar
Fileobject.move (destination)
Folderobject.move (destination)
Parameter
Description
Destination
Required.
You can use the JMail component before using OH.
Sub JMail (Email,topic,mailbody)
On Error Resume Next
Dim JMail
Set jmail=server.createobject ("Jmail.message")
Jmail.silent=true
Jmail.logging=true
jmail.charset= "gb2312"
If Not (Newasp.mailusername
The simplest is to use the Cdonts.newmail component
CDONTS. The NewMail component is a self-contained component of IIS that can be used directly as long as the server does not have shutdown permissions
Set mailobject =
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.