Thread: .cgi Vs .pl
View Single Post
Old Jan 14th, 2008, 10:33 PM   #2
mbd
Programmer
 
Join Date: Nov 2007
Posts: 86
Rep Power: 1 mbd is on a distinguished road
Re: .cgi Vs .pl

file extensions are mostly meaningless. windows maintains a map between file extensions and the programs which should be used to open them. apache web server does something similar. CGI is an interface agreed upon by rfc 3875. it is used to pass information from web requests to executables. CGI can pass data to any type of executable which can understand it. your .cgi files are probably parsed for a #! line which maps your particular .cgi file to be executed by perl. in short, file extensions are pretty much meaningless.
mbd is offline   Reply With Quote