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
Product Introduction:100M Web space support asp,htm,php,html support Access,,jmail mail components, aspjpeg. Note: Free space does not support binding international domain names, do not provide online management panel, do not give away mysql!
Free
Product Type dual-line free host (no type)Web Space 50MDatabase Space Access database free (share database size with web space)Bundled Professional Post Office √Price Specification limitNetwork traffic is not limitedCPU Resource Allocation 1%IIS
ASP tutorial. NET C Extract the letters, Chinese characters, Chinese programs in the pictureMust take advantage of component name: Microsoft Office Document Imaging 12.0 type Library*/
Modi.document MD = new modi.document ();Md.create (Directory.
Show page load time
Add the following code to the top of the page:
Dim Strstarttime
Dim Strendtime
Strstarttime = Timer ' Start time
%>
Page (same page) to add at the end:
' Time to load
Strendtime = Timer
Response.Write ("Page load Time:")
Response.
/*1,url is to link the page and pass the past value, pass the past value, let dynamic page execution2,default.asp tutorial x is the page to be executed for this3,name is the name of the argument that passed.4,document.getelementbyid (' Text1 ').
Example 2
Binary download remote pictures, files, and save to Local:
code is as follows
copy code
Private Function getpicture (X) ' Get Picture data Set XML = Server.CreateObject (' microsoft.xmlhttp ')
This paper mainly describes the safety problems of Asp/iis and the corresponding countermeasures, and does not advocate the use of the
method to do any damage, or else bring the consequences to the conceited
Through ASP intrusion Web server, steal
The code is as follows
Copy Code
Dim Rs,sql,foundstrDim Classid,childstrDim Rssbody,rsstitle,rsshomepageurlDim Xmldom,node,cnode,cnode1,msginfoSet xmldom = Server.CreateObject ("Microsoft.FreeThreadedXMLDOM")Xmldom.appendchild
vhttp://www.111cn.net/detail.asp?id=157 This page is used to display all the nodes in the XML file, and to delete and edit two connections next to each node, where the deletion code is:Id=request ("id")If IsNumeric (ID) =false or isNull (ID)
//////////////////////////////////////////////////////////////////////////////
[MDaemon] Use ASP to check MDaemon system administrator Login
Original Author: Jia Jun (Jaron)
Website: http://www.jiangdu.net;
Mail: jaron@jdinfo.net
First published in
Checked some posts for the MSSQL database tutorials can generally use such statements:
Method Three: There is such a way, I feel good:Yourstr= "*1*3*4*6*12* ..."Sql= "SELECT top * Form Yourdb where InStr (' * ' &id& ' * ', '" &yourstr& ') <>0 "%>
ASP UBB code into HTML code
Function ubb2html (str, Showemot, showimg)On ERROR RESUME NEXTIf not str<> "" Then Exit functionTmpstr= "Unobwab"Str=ubbstr (str, "url")Str=ubbstr (str, "quote")Str=ubbstr (str, "color")Str=ubbstr (str, "size")Str=ubbstr
ArrayList classes in ASP [common functions for arrays]
Use the following methods:
Program codeDim Arr:set arr=new ArrayListArr.add "a": Arr.add "B": Arr.add "C"Response.Write Arr.count & ""For I=0 to Arr.count-1Response.Write Arr.item (i) &
When asp tutorial. net references web service, an unrecognized configuration node applicationSettings solution appears.Web service, a node in web. config that cannot be identified Content of the ApplicationSetting node: http: // 10.132.100.1:
I once worked on a complex chat room, and almost had all the functions of the BBS chat room, but it was a waste of resources because it was made using applications. I think it is more reliable and easier to use databases.You can set a database chat
Most people are worried about database security issues! Generally, the database suffix is complicated and the suffix is. ASP. But is it absolutely safe! The answer is yes. It will never be safe! Because once someone guesses your path, you can use
ASP web page creation tutorial. Edited by Wang Guorong, People's Post and Telecommunications Publishing House.To open an MDB Database, define an OpenMDB subprogram and call it in the main program.Option ExplicitSub OpenMDB (dbname, pwd, conn)'Dbname-
There are two methods: localized web. sitemap and SiteMapProvider in different cultures/languages.Direct localization of web. sitemap can be divided into Implicit expressions and Explicit expressions. I like to use implicit expressions, because
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