ASP:BASE64 encoding and decoding functions
www.xufei.net [2003-3-6]
--------------------------------------------------------------------------------
Base64 encoding and decoding functions
This is I read a few Base64 encoding, decoding the function
Running ASP files
First we need to match the running environment, the server running the ASP file is the IIS server, so we have to install and configure the IIS server, in fact, compared to other servers, IIS is much simpler, because it is a server
Copy Code code as follows:
Class MyClass
Dim var ' Public variable must use Dim
Private VAR2 ' proprietary variable does not need
Sub sub1
Response.Write Var2
End Sub
Private Sub Sub2
Response.Write var
End Sub
Sub SetVar (v)
One: Frame hanging horse
Where the "address" can enter a malicious Web site links, etc.
Two: js file hanging Horse
As long as the JS file, can be maliciously modified to be linked to malicious code, generally quoted by the entire station JS code
Access via HTTP protocol
The use of a word trojan (I only listed 2 kinds):
1. Only database backup scenarios
When the database is backed up as an ASP file, there is no "compile error, missing script shutdown flag%>"
2) SA permission, usually first
The MultiView control can be used as an external container for one or more View controls. The View control can contain any combination of markup and controls. You can use the MultiView and View controls to perform various tasks, such as providing
HyperLink (HYPERLINK)
Role: Responsible for navigating between pages
Property
value
function
NavigateUrl
Url
The page address (URL) that will be jumped
Font-underline
False
Get rid of
ASP Getting Started Tutorial: ASP Server Object Simple
The ASP server object is used to access properties and methods on the server.
Okay, let's take a look at an example here:
Set fs = Server.CreateObject
Feel to do a forum is not as easy as imagined, but also not as complex as imagined: after 4 days of bloody battle, finally from the production of the Forum to today's forum data structure and organizational situation preliminary determination, the
This article a simple ASP tutorial voting system source code, at the same time can determine whether the user is the first time to vote, if not on the hint thank you for your support, you have voted, thank you, otherwise it will increase the voting
The simplest method is as follows:1. Create an aspx page and pull the calender control in.2. The first step is to set the appearance. Based on your needs, you only need to make some adjustments to its related attributes. You can adjust it as shown
In C #, "" and string. Empty can be used interchangeably. For example:String s = "";String s2 = string. Empty;If (s = string. Empty ){ }Among them, string. Empty and string str = "" are allocated with memory space, and both of them point to the same
1. Do not blindly trust user inputIn Web application development, the biggest mistake for developers is to trust user input unconditionally. It is assumed that users (even malicious users) are always restricted by browsers and always interact with
Asp tutorial. net mobile phone Chinese and English digital verification controls1 verification of mobile phone number: ^ 1 [0-9] d {9 }$, previously used: /^ 0 {0, 1} (13 [4-9] | 15 [7-9] | 15 [0-2]) [0-9] {8} $ /,The Editorial Department asked a
Strvalue ("rerequest Email notification registration Email if not entered", 26)Here 26 refers to 26 English letters, that is, 13 Chinese charactersFunction strlen (str)Dim p_lenP_len = 0Strlen = 0If trim (str) <> "thenP_len = len (trim (str ))For xx
CookiesThe cookie set allows you to retrieve the cookie value sent in an HTTP request.Syntax Request. Cookies (Cookies) [(key) |. attribute] ParametersCookieSpecifies the cookie for which the value is to be retrieved.KeyOptional. Used to retrieve
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.