Use CGI = Common Gateway Interface with web host?

CGI, or Common Gateway Interfaces, are scripts that, for example, forward form content to an email address or store data in a database.

My web host supports CGI, but I have two questions:

1) Does the web host always provide these or do I have to create them myself?

2) Is there a public library where you can download CGI and if so, what is it?

Thank you!

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
2 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
iQa1x
1 year ago

CGI is one of the first interfaces with which web server could run external programs. They get the query data as input and the output of the program is sent to the browser. The advantage is that program / script can be in any language that the web server can or has the appropriate interpreter. PERL was widespread in the early days of the Internet.

Today almost no longer uses because the execution of scripts (PHP, sometimes also Python / Ruby) directly on the web server or via Fast CGI is much more effective and usually safer in a constantly running process. You can also find more finished PHP scripts like CGIs on the web. These are also often easier to program.

Chris102004
1 year ago

There are web hosters that provide CGI base.

Mostly you have to create them yourself, because the host does not know what you want.

How it is always during programming – to create and be satisfied 😉