Today in the change of a business-to-business e-commerce system, found that the ASP is positive, although using ASP for a long time, but never used regular expression, this system has a regular function is very good, I see it.
Copy Code code
Enter song name automatically will associate song name automatically
Background dimming is not operational when reading music address
Sync LRC Lyrics Display,
Users can expand their own, integrated music station
screen.width-333)
1, ASP two simple way to generate static home page
Why should I generate a static home page?
1, if you read the first page of the database more frequently, the speed is very slow, and occupy a lot of server resources. Using static page access speed
This is used to plan tasks, first assuming that your program's address is "http://1.0.0.8/a.asp", then you edit the following:
Copy Code code as follows:
Dim IE
Set IE = CreateObject ("Internetexplorer.application")
Ie.navigate ("http:
database field: ID (AutoNumber), class_name (menu name), ParentID (parent menu ID)
Copy Code code as follows:
Dim m
M=0
Call Showtree (0)%>
Sub Showtree (ParentID)
Dim s
M=m+1
Dim RS
Set rs = Server.CreateObject ("ADODB.")
Using System;
Using System.Data;
Using System.Configuration;
Using System.Collections;
Using System.Web;
Using System.Web.Security;
Using System.Web.UI;
Using System.Web.UI.WebControls;
Using System.Web.UI.WebControls.WebParts;
Using
* Tip 1: Use Global.asa for application-tier files
Loads a file into an application-tier array in Global.asa instead of reading the file on the page by using an ASP file system pair.
GLOBAL. ASA can be used to specify event scripts or to declare
Found that a lot of ASP's system in the call to the article if not generate static, the output is similar
Http://www.xxx.com/show.asp?id=26 in this format.
If you can change http://www.xxx.com/show/?26 this format, feel good stopgap a lot, of
Learn from the last release Skytree lesson, this time not wordy, to get to the point, one months of efforts in today's see, feel good back to the post, the content is not limited, "top" have points!
Now begin to experience the glare of the Skygrid
Copy Code code as follows:
Dim Appealnum,appealcount
appealnum=10 ' request limit 10 times in the same IP60 seconds
Appealcount=request.cookies ("Appealcount")
If appealcount= "" Then
Response.Cookies ("Appealcount") =1
Appealcount=1
Using the Soaphead method, you can add header information to the WebService request, and when someone calls our WebService, you can check the header information of the request and verify that it prevents the program from being invoked outside of the
I hope you support click Ads!
A few days ago, a friend in the group asked how to implement the Mailbox Access feature on the Web page, which is now being downloaded from the Web site. This is HTML code. Do you see this feature on some pages when you
Online Registration Demo
Dim smessage
If Request.Form ("Cmdadduser") <> "" Then
Dim Omduser
Dim Omduserinfo
Dim Nresult
Dim Sfullname
Dim sUserName
Dim Spassword
Sfullname = Request.Form ("Txtfullname")
sUserName = Request.Form
After reading this Ajax example tutorial, I believe you can also easily make a beginner AJAX application.
You can also directly access: http://www.jb51.net/codes/57017.html Download the Ajax tutorial source code example.
OK, let's start with a
ASP Classic Page-type
Source
'=====================================================================
' Xdownpage ASP version
' Version 1.00
' Code by zykj2000
' Email:zykj_2000@163.net
' Bbs:http://bbs.513soft.net
' This program can be free to use,
Today, I found out that the function of the functions, can find a specific character or string.
Here's a simple example I wrote:
Dim content_text,searchword_text
' Content is contents, Searchword is the text to search for
Sub Search
1. First of all, we need to filter the content submitted by all clients, including the "Id=n", in addition to the operation of the database of select and ASP files in the submitted HTML code, you can escape the submitted word and then save it in the
Modify the name of the file
Use the GetFile function of the FileSystemObject (file system object) to get a "file object" and modify the Name property of this "file object"
Copy Code code as follows:
Set Fso=server.createobject
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