Home >Common Problem >What does script mean?
Script (Script) is an extension of a batch file and a program saved in plain text. Generally speaking, a computer script program is a determined combination of a series of operations that control the computer to perform operations, in which it can be implemented Certain logical branches, etc.
A script is simply a series of text commands. These text commands can be seen (for example, you can use Notepad to open them for viewing and editing). The script program is executing At this time, an interpreter of the system translates the instructions one by one into machine-recognizable instructions, and executes them in program order. Because the script has an additional translation process during execution, its execution efficiency is slightly lower than that of binary programs.
Scripts can usually be called and executed temporarily by applications. Various types of scripts are widely used in web design, because scripts can not only reduce the size of web pages and improve web browsing speed, but also enrich the performance of web pages, such as animations, sounds, etc. To give the most common example, when you click on an email address on a web page, email software such as Outlook Express or Foxmail can be automatically called. This is achieved through scripting. It is precisely because of these characteristics of scripts that they are often exploited by people with ulterior motives. For example, adding some commands to destroy the computer system in the script, so that when the user browses the web, once such script is called, the user's system will be attacked. Therefore, users should choose the security level based on the degree of trust in the web pages they visit, especially for those web pages whose content is illegal, and should not easily allow the use of scripts. Through the "Security Settings" dialog box, you can easily disable and enable scripts by selecting various settings under the "Script" option.
Features:● Grammar and structure are usually relatively simple
● Usually easy to learn and use
● Usually easy Modify the "interpretation" of the program as the running method without the need to "compile"
● The development productivity of the program is better than the running performance
The above is the detailed content of What does script mean?. For more information, please follow other related articles on the PHP Chinese website!