You can send messages through the JMail component. First you install the JMail component on the Web server. The following is an object instance that can be invoked via call SendMail (receive) to send mail
You can send messages through the JMail
Some ASP code worth collecting some ASP code
1. oncontextmenu= "Window.event.returnvalue=false" will completely screen the right mouse button
no available for table
2. deselect, prevent copying
3. onpaste= "return false" is not allowed to paste
4.
Pure IP data contains 381,085, you can download the query software to extract the data into a text format, and its code to UTF8, otherwise in the program read Chinese will garbled!
The following screenshot of the program is performed to analyze IP
For a long time did not write ASP code, today in a simple message this, there was a mistake:
Microsoft Office Access Database Engine error ' 80040e14 'Syntax error in Insert into statement.On the Internet to check the information, only to know that
When we manage Web site files, we can put the same file name extension under the same directory, a more special names, such as the PDF file directory for the_pdf_file_s, save the following code as down.asp, his online path is
A website can switch different CSS styles you should all understand, like the well-known Tencent in this year's revision also increased the function of switching skin. According to the time to automatically adjust the site style is a good idea, the
google|sitemap|xml| Generate XML
ASP version, need space for FSO supportI won't tell you how to use it.Moderator feel the can, give a fineThe first time OHCODE: [Copy to Clipboard]server.scripttimeout=50000' Sitemap_gen.asp' A simple script to
'********************************************************************************' Function (public)' Name: string intercept function' Function: intercept content by specified end-end string (This function is truncated from left to right)'
Programming | Advanced 9.2.3 stored Procedures
The use of stored procedures is an area where command objects are applied. Stored procedures, sometimes called store queries, are predefined SQL query statements stored in the database.
Why should you
Do user login, I always use form to verify the way. Sometimes, in order to save time, users want the user name input box to remember the user name, so that the next time to re-enter. This is not a good time to use form validation, because form
File size | Remote file |header
The ASP obtains the remote file through header header information, and returns the remote file size information, the remote file can be a Web page or rar,exe any format file.
The following code is the simplest one
Add caching support to the data tier, business logic tier, UI, or output layer. Memory is now very cheap-therefore, a great performance improvement can be achieved by implementing caching in the entire application in an intelligent manner. Caching
A cookie is a text string handle sent to a client's browser and saved on the client's hard disk to persist data between sessions of a Web site. Both the request and response objects have a set of cookies.
The Request.cookie collection is a series
Design now talk about book.htm, let everyone know the role of the input form, its action object is itself, book.asp (wait for a while to rename book.htm to book.asp) This file, that is. After the form is submitted, it is handled by itself. In this
With the popularization of the network, online survey can often achieve better results. In their own personal site to put a fun problem investigation board, indeed for the site Tim a lot of, and through the results of the survey you can more
Chat Room | network | Chat rooms often surf the internet netizens are afraid that few people have not been to the chat room random Shinti. Just a little attention and you'll find that most of these chat rooms are maintained using CGI programs or
Skills
Tip 21: Enable browser and proxy cachingBy default, ASP disables caching in browsers and agents. This will make sense, because ASPs are inherently dynamic and potentially time-sensitive information. If you have a page that does
Chinese | string | String we usually need to write the current date on the WEB page, possibly using the client script, or using ASP. One feature of using ASP is that it produces an effect that looks like a static page, but it is actually generated
function |
Array ()FUNCTION: Returns an array
Syntax:array (list)
ARGUMENTS: Characters, numbers can be
EXAMPLE: Dim MyArray ()
For i = 1 to 7
Redim Preserve myarray (i)
MyArray (i) = WeekdayName (i)
Next
%>
Result: An array containing 7 elements
program | download | page
I've sent a thing before, is the remote content, according to the browser input, it into binary streaming down to the local, but more limitations, this code can be a remote page of all content, including remote server
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.