/ / Learn together what is a "script"

We learn together what a "script"

This publication will address the issue ofwhat is a "script". After studying this information, readers will get a general idea of ​​the work of such programs. Some useful instructions on this topic will be offered. So, "scripts" are, first of all, programs or program files, scripts. In fact, such a term is called any executable procedure.

Programs "scripts" have a more limitedconcept. For example, Internet technologies offer the following meaning for this word: "This is an executable procedure that is launched by the server on a specific request, which comes from a specific page (web resource) of the Internet." Talking about what a "script" is in terms of its application, it should be clarified that the scope of such programs is great.

With their help, a user of personalthe computer can access a wide variety of databases, and it is possible to monitor the statistics of visits using special counters. Also here is leaving comments on certain publications, working with guest books (making notes, wishes) and so on. Where is the "script"? Its location can be the server on which the web page is located, which refers to it. It is also possible to place it as a remote Internet server.

Given the fact that when you run the "script"certain actions are taken, one should take into account that the implementation of such procedures can be both useful and harmful. In particular, this may pose a certain danger to server owners. Accordingly, on some of them it is forbidden to use "scripts". As a rule, the provider provides such an opportunity after special conditions for the application of these programs are specified.

Now let's talk about what a "script" is, and aboutits application in more detail. In fact, they are currently used on every web resource, and any more or less advanced user of a personal computer knows or heard about them. It is possible that many people wanted to know about the look and work of these programs. We'll talk about what a "script-CGI" is, which is actually the program running on the Web server.

It is executed, respectively, after the requestcustomers. By clients here are meant exactly the visitors of certain Web sites. In fact, the "CGI-script" is in some way similar to other computer programs, such as "Word" (MS Word) or "Explorer" (Explorer). Initially, it should be understood that "CGI" is not a programming language with the help of which "scripts" are written. The full name of this specialized interface is the "Common Gateway Interface". It is used to run scripts and continue to work.

Now back to the previous statement: "The implementation of the described programs can carry a certain danger." As for "CGI-scripts", then they are no exception. It follows that when planning certain Internet projects, it is necessary to clarify the details of the execution of "CGI" on this or that server. Earlier it was said that on some Internet hosting providers providers may be prohibited or restricted execution of such programs.

Especially often restrictions on the use of "CGI" are observed on free hosting. This leads to the fact that the user is deprived of opportunities to implement various usefulness.

The specifics of the "script-CGI" work: if you are the owner of a web resource, then visitors come to your site, who leave feedback, comments. In this case, they fill in the appropriate fields, and then click - "Send". After such manipulations, the data is sent to the server, the "CGI script" is launched and the information is processed. The visitor at the same time sees that his comment appears on the page and receives a message like: "Your comment has been added, thank you!"

In fact, you now have a general idea of ​​what a "script" is. For a more scrupulous study of the topic, there are special training materials.

</ p>>
Read more: