Basic Ideas:
Write an independent program and program page for each function
Keep customers informed of your server information as little as possible
Do not use the idea of "the customer should write this way" to think about problems.
Think of
This problem occurs at work: given an sorted array (in ascending order), the repeated data in the array can be deleted, but only one array can be used. The size of the array can be changed.
Example: array: [, 3,]
Output: [1, 2, 3, 4, 5, 7, 10]
Every language has the concept of variables, which are an element used to store information. For example, the following function:
Copy codeThe Code is as follows: function Student (name, age, from)
{
This. name = name;
This. age = age;
This. from =
In the downloaded source file, if you encounter a keyword that you cannot understand, click F1 to see the explanation. New users without basic programming may not be clear about some operators in the program. The following describes the operators:
++
I. role:
~~~~~~~~~
PHP only sends the HTML document header to the browser using the HTTP protocol to tell the browser how to handle the page. As for the transmitted content, you need to familiarize yourself with the HTTP protocol, which is
Postinfo.htm galaxy video response to user request information
'Use the Post method enter your name: Email:
Postdata. asp hello! Your email address is:
Dim choose, path, mydb, myset, SQL, fs, mp3'The user submits the table (list.htm) to the ID of the selected track, and assigns it to the string variable choose.Choose = "("For I = 3 to request. form. countChoose = choose + request. form (I) +
How can I determine whether users leave the chat room abnormally?
Total = application ("AllPeople ")
'Total number of chats.AryHuman = split (total ,";")For I = lbound (aryHuman) to ubound (aryHuman)-1If application ("user" & I) = "online" thenIf
How can I send an email using a form?
FormToEmail.htm
'Form.Recipient: Sender: Topic: Content 1: Content 2:
FormToEmail. asp
'Process receiving and sending emails.Set mailer = Server. CreateObject ("ASPMAIL. ASPMailCtrl.1 ")Recipient =
Manage. asp
StrName = Request. Form ("username ")
StrHomePage = Request. Form ("homepage ")
StrEmail = Request. Form ("Email ")
'Get the form information.
Set fso = Server. CreateObject ("Scripting. FileSystemObject ")
'Create a fso
Count. aspContent = "text/html; charset = gb2312"> change counter for dancing with the Wind Dim outCountfile = server. mappath ("aspcount.txt ")Set objfile = server. createobject ("scripting. filesystemobject ")
'Define a server component.Set out
Step 1: Create a counter (the simplest digital counter, not an image-based counter ):
Set fsFilesys = CreateObject ("Scripting. FileSystemObject ")
Set myText = fsFilesys. OpenTextFile (Server. MapPath ("/count") & "\ count.txt") count = myText.
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