Re: cgi vs php

From: Date: Fri, 06 Feb 2009 11:04:29 +0000
Subject: Re: cgi vs php
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-287803@lists.php.net to get a copy of this message
Thodoris napsal(a):
Y In cgi i can use perl ,c etc suppose i use perl now how efficiency differs? How cgi written in perl and php is differ in working in context of web service? other difference?. but their differ. On Thu, Feb 5, 2009 at 6:45 PM, Jay Blanchard <jblanchard@pocket.com> wrote:
[snip] can anybody tell me the benefits of php over cgi or vice versa? i need to compare both? [/snip] CGI is a gateway to be used by languages PHP is a language
    
First of all try not to top post this is what we usually do here. Well CGI is a standard protocol implemented by many programming languages. You may start googling to find about it but this is a start: http://en.wikipedia.org/wiki/Common_Gateway_Interface Both Perl and PHP can work with CGI but working with Perl-CGI is not something that we should discuss in this list since this is a *PHP* list. IMHO you should start reading some aspects of web development to make some things clear before start asking questions in the lsit. This will improve your understanding and it help us to make suggestions.
I admire your calmness. Such a descriptive reply for someone who doesn't think before asking.
After smashing a ton of keyboards and yell at my screen when people started looking me with a weird expression in their faces I understood that: 1) I am paying a lot of money for keyboards 2) My screen will never answer my threats 3) People will start to think that I come from outer space 4) Everybody needs help :-) -- Thodoris

« previous php.general (#287803) next »