What is a CGI file? A cgi file is a tool used by the HTTP server to "talk" with programs on your or other machines. Its programs must run on the network server. The vast majority of cgi-format programs are used to interpret and process the input information of the jade form, generate corresponding processing on the server, or feedback the corresponding information to the browser. Cgi programs enable web pages to interact with each other.
How to open a cgi file?
You can use the notepad text editing tool. [It is best not to use DW or other Web editing software to open it, because they will automatically add code.] Modifying the file attributes must be done on the server. However, there are differences between NT and LINUX/UNIX.
NT file attribute values do not need to change, IMAGE files can also be placed in the CGI-BIN directory LINUX/UNIX is to change the attribute, the IMAGE file can not be placed in the CGI-BIN directory, you must create another directory outside the CGI-BIN directory, otherwise the image cannot be displayed.