A script is an executable file written in a certain format in a specific descriptive language, also known as a macro or batch processing file. Scripts can usually be temporarily called and executed by applications. Various scripts are widely used in Webpage Design, because scripts can not only reduce the size of webpages, but also increase the browsing speed, and enrich the webpage performance, such as animation and sound. For the most common example, mail software such as Outlook Express or Foxmail can be automatically called when you click the e-mail address on the webpage, which is implemented through the script function. Another example is that there is a triangle symbol next to the English news content on some webpages of the Hong En website http // www.hongen.com. You can click it to hear the English reading. This is also the script at work. Because of these characteristics of scripts, they are often used by others with ulterior motives. For example, add some commands in the script that damage the computer system. When a user browses the web page, once such scripts are called, the user's system will be attacked. Therefore, users should select a security level based on their trust in the accessed web pages, especially those webpages whose content is illegal, and do not allow the use of scripts easily. In the "Security Settings" dialog box, select various settings under the "script" option to easily disable and enable the script.
Dynamic programs generally have two implementation methods: Binary and script.
The second step is to compile the program into a script code that can be recognized by the machine (such as the .exe file) and then execute it. We can only execute and use this compiled program, but cannot see its content.
A script is a line of text commands, which we can see (for example, you can use NotePad to open, view, and edit). When the script program is running, it is an interpreter of the system, which translates the lines into machine-identifiable commands and executes them in the program order. Because the script has an additional translation process during execution, it is less efficient than the binary program.
The dynamic languages we mentioned above, such as ASP, PHP, CGI, and JSP, are all scripting languages.
Based on the current service rules, virtual host websites can only be implemented in script language.
The Script is in English. In fact, scripts are programs, which are generally programming languages provided by applications. Applications include browsers (javascript, VBScript), multimedia creation tools, macros of applications, and batch processing languages of the Creation System. The main differences between scripts and the commonly used VB and C languages are:
1. The script syntax is relatively simple and easy to master;
2. scripts are closely related to applications, and therefore include functions of the applications;
3. Generally, scripts are not universal, and the scope of problems that can be handled is limited.