FileName: upload.inc
Description: Support the Chinese component-free file upload ASP functions, because the ASP does not support binary write files, so save the file must use components, this function only provides interception of uploaded file data,
Using ASP to write a simple encryption and decryption class, in this class simple implementation of a cryptographic and decryption. The purpose is to share with you. The cracking of this class is very simple. Just look at my notes and see what's
Connection|select Dim conn
Dim strconn
Dim rs
Dim strSQL
Dim strsql2
Dim strsql3
Dim strsql4
Dim strsql5
Dim strsql6
Dim Strsql7
Dim Strsql8
' strconn = Driver={sql Server};D escription=example; server=222.222.1.2; Uid=webexample; pwd=;D
Solve | sort | problem: add_massege.asp
------------part, without optimal finishing------------
Name1=session ("Uname")
If name1= "" Then
Response.Write ""
Response.Write ""
Response.Write ""
Response.Write "Only members can use this feature,
Controls | chart | Chart control a while ago to make a chart, see all the articles in the forum, but mostly with aspchart,shortgraph components, these components are mostly foreign development to money. If you use Office Ms Chart, the results are
Dynamic validation What's called a complex form here is a form that contains many different types of input, such as Drop-down list boxes, single-line text, multiline text, numeric values, and so on. There is a need to have a dynamic build program
The following example is the conversion of gb2312 to uft-8 this formphp4.3.1 later Iconv function is very useful, just need to write a uft8 to Unicode conversion functionTabular (gb2312.txt) is fine.
?$text = "electronic stacks";Preg_match_all
Random number directly generate the image of the ASP code, you can do authentication code.Xbm.aspResponse.Buffer = TrueWith Response. Expires =-1. AddHeader "Pragma", "No-cache". AddHeader "Cache-ctrol", "No-cache"End With
Dim numRandomizenum = Int (
Solve the problem of executing special characters in database queries in ASP
This is often the case when querying a database:For example, to query a user's database for his username and his password, there are special characters in the name and
Safety
--From ASP program to server configuration
The ASP full name Active Server Pages is a Microsoft-launched Dynamic Server Web technology to replace CGI (Common Gateway Interface). Because the ASP is easy to learn, and Microsoft this strong
Security | Before we do the security configuration, let's take a look at the intruder's attack tactics. It is now very popular injection attacks, the so-called injection attacks, is the use of the submission of special addresses to the ASP
Encryption | data | The algorithm first briefly introduces the background of encryption. Because the United States prohibits several cryptographic algorithms from exporting encrypted digits (such as SSL's 40-bit encryption limit), this article
Recently in the writing BBS, encountered code conversion problems. Looking for a long time, only to get a better solution, can completely restore the original text.
Here is a post for you to correct me.
System: linux+php4+oracle8i
?--title, name and
First, the analysis before programming
To make a message board, and we also decided to do it in a database way, so we start with the following steps:
1. Fill in the message
Where do you write your message?
2. Send Message
When you enter data in a
Using the IP2ADDR function to read the IP database files directly is the most efficient, and SQL query is the most efficient one, compared with the MySQL database to store the IP data. However, the IP database file QQWry.dat is GB2312 encoded. Now I
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