What is the difference between CGI and CGI-BIN?
CGI stands for Common Gateway Interface. CGI is not a programming language, it defines how data is passed between software and databases to the web page. CGI programs can be written using a variety of languages, such as Perl, C, PHP and others.
CGI-Bin is the directory where executable files are located