Today, when the site, customers want a blog, so the use of this blog to use the program Pjblog. Often do the site people know, in the same site using different encodings of the page will produce garbled, more common is gb2312 and Utf-8, for example,
ASP small sneak address and generate HTML
function gethttppage (URL)Dim HttpSet Http=server.createobject ("MSXML2. XMLHTTP ")Http.open "Get", Url,falseHttp.send ()If Http.readystate<>4 ThenExit functionEnd IfGethttppage=bytestobstr
ASP generated static HTM page Basic code!
The following dotted box is the specific code for the mk.asp file:--------------------------------------------------------------------------------Filename= "Test.htm"If request ("Body") <> "" ThenSet fso =
Generally, the site's picture code is like this. Right click on the picture, select the properties you can see the real address of the picture. This lets other website have opportunity, hotlinking the picture of your website. We can use a little
javascript|xml| Chat Room | refresh | no refresh
Use XML instead of constantly refreshing *. Asp.
No refresh to achieve the article by article display.
Use Application variables to store chat records, so you need to create a virtual directory
The
First, the effect: 1.asp of the program, published in the network when the. jsp for the suffix, more or less can sever the confidence of some attackers.
2. It's okay, you can play cool.
3. But in the final analysis is still the ASP's program kernel,
For example, the input title is: Anycall L768 mobile phone customized problems.
So how do we get the keywords from the above text via asp:Mobile Anycall
Share Arisisi experience in the production of website projects to solve problems:
1, the
Received a task is to add some content of Chinese brand website to our website, some of these pages are links to the list of articles, click on the link will appear in the article detailed content Display page, according to this rule, combining
Web page generation of static HTML file has many advantages, such as the creation of HTML Web pages are included in the search engine, not only included in the quick also included in the whole. The front desk is out of data access, reduces pressure
Look at the following Java code, the goal is to when I is 3, do not output, skip directly to the next loop.
int i = 0; while (i i++; if (i == 3) ...{ continue; } System.out.println("I'm not 3, I'm " + i); // Do something else... } However,
NetEase virtual community in the "VB and basic area" in a "use of VB to write a pure ASP program [to][technology]", in fact, I think the best way to do this--
The definition in the original text is as follows:
Dim M_objresponse as Response
In
This work is done by ASP operation Excel, the whole program is marked out every line, and then like to do in the blank. Now I've changed it. Dynamically displays the items for each row, and then displays the row by line, and finally makes a summary.
One, FSO. GetFile
Extracts files corresponding to the file object
1,getfile.asp
whichfile=Server.MapPath("cnbruce.txt") Set fso = CreateObject("Scripting.FileSystemObject") Set f1 = fso.CreateTextFile(whichfile,true) f1.Write ("This is a test.My
' Change the pattern again.' Code to be detected by' Www.nml78z.cn/article.asp?id=29' Leixing HTML or UBB' Nopic code defaults when no picturesfunction Toppic (code,leixing,nopic)Set regex = new RegExpRegex.ignorecase = TrueRegex.global = TrueIf
The following comparison is used to see how the comparisons are used in several ways.
One, there are two ways to use stored procedure paging:
First, use the command object, as follows:
Set Cmd=server.CreateObject("Adodb.Command")
In the [design article], we describe the principle of creating from viewresult to view rendering through a general introduction to the view engine, in order to give readers a deep understanding of the view engine and its view presentation mechanism,
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.