Re: PHP CGI

From: Date: Mon, 18 Mar 2002 04:47:15 +0000
Subject: Re: PHP CGI
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-88883@lists.php.net to get a copy of this message
I mean any time you hear the word CGI it is rarely referring to PHP, always Perl (My most comfortable Web language). You'd think that CGI only refers to Perl. If you goto a site and download scripts under category CGI you would be downloading Perl scripts, PHP has its own category. Should CGI still mainly Perl even though PHP is somewhat easier, quicker thus easier suited for CGI. I think the meaning of CGI is quite blured. Anyone else think so? <mnc@stoic.net> wrote in message news:Pine.LNX.4.44.0203172227200.18484-100000@stoic.net... > On Sun, 17 Mar 2002, David Duong wrote: > > Can PHP be considered CGI? > > Sometimes. > > CGI is a standardized interface between web servers and backend > applications. PHP can communicate with web servers using that mechanism, > but it doesn't have to (depends on the web server in use). > > I think the problem here is that you're not asking the question you think > you're asking. Unfortunately, I'm not sure what you're really trying to > figure out. > > > Would PHP replace Perl as the main language of CGI? > > Who knows? It might. Its use is growing rapidly, and it's much easier to > learn. A few years ago the prospect would have been unthinkable, due to > the vastly greater supply of Perl CGI web apps and free libraries in > circulation. These days the advantage is not so strong. And PHP is far > better optimized for the specific task of web application development. > > On the other hand, Perl is in the abstract a more powerful language. So > many programmers will continue to prefer it. > > miguel >

« previous php.general (#88883) next »