What is CGI and what are CGI scripts?

I saw a folder called cgi-bin for quite some time using apache.

How do scripts help me?

how can i use them?

I used php and ajax only for web development!

+3
source share
2 answers

G'day

Web server, for example. Apache, just sending back static content, is a response to a client request for content. For example, the request http://www.myserver.com/index.html usually forces the server to open the file and return the contents of the file associated with the corresponding http components.

, CGI - - , - .

cgi-bin .

Perl " CGI Perl" CGI.

: , " PHP , CGI". .

  • , PHP . CGI, mod_perl , ,
  • PHP , ,
  • , ASP, Windows DB,
  • PHP , . register_globals, PHP .

PHP , .

  • ,
  • ,
  • .

, PHP5 .

, CGI .

,

+11

cgi-bin CGI. , PHP, , , CGI.

+1

Source: https://habr.com/ru/post/1727075/


All Articles