Re: [PHP] cgi vs php

2009-02-06 Thread Thodoris



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 
 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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] cgi vs php

2009-02-05 Thread Vikas Sharma
Thanx for your reply Thodoris
i really new to this.
i will follow your suggestions.
and i admit tht my query was silly its b'zoz i know less .

but
wht the hell reply by the "Martin Zvarík". has he done all this in womb.
MZ u also need to think before commenting such.


On Thu, Feb 5, 2009 at 9:33 PM, Martin Zvarík  wrote:

> 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 
>>> 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.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
vikas sharma


Re: [PHP] cgi vs php

2009-02-05 Thread Martin Zvarík

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  
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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] cgi vs php

2009-02-05 Thread Thodoris



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  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.


--
Thodoris



Re: [PHP] cgi vs php

2009-02-05 Thread Vikas Sharma
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  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
>



-- 
vikas sharma


RE: [PHP] cgi vs php

2009-02-05 Thread Jay Blanchard
[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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] cgi vs php

2009-02-05 Thread Vikas Sharma
can anybody tell me the benefits of php over cgi or vice versa?
i need to compare both?

-- 
vikas sharma


Re: [PHP] CGI vs PHP

2001-02-04 Thread Christian Reiniger

On Saturday 03 February 2001 22:03, phpLover wrote:
> I am sorry if my question is confusing. What I mean is that CGI is
> excellent in handling flat file data base, reading and writing files
> line by line, word by wor. So is PHP equally strong?

That's exactly what he meant - CGI is an interface specification, PHP is 
a programming language. You can use PHP via CGI :)

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

"Never doubt that a small group of thoughtful, committed people can
change the world...
Indeed, it's the only thing that ever has."

- Margaret Mead

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] CGI vs PHP

2001-02-03 Thread Steve Werby

"phpLover" <[EMAIL PROTECTED]> wrote:
> I am sorry if my question is confusing. What I mean is that CGI is
excellent
> in handling flat file data base, reading and writing files line by line,
> word by wor. So is PHP equally strong?

I assume you mean Perl CGI - there are many programming languages that can
run as a CGI.  PHP installed as an Apache module will in general run scripts
faster than a Perl CGI or PHP CGI.  PHP works great for file handling
scripts, though as your files grow you'll probably want to consider using
databases instead of flat files.

--
Steve Werby
COO
24-7 Computer Services, LLC
Tel: 804.817.2470
http://www.247computing.com/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] CGI vs PHP

2001-02-03 Thread phpLover

I am sorry if my question is confusing. What I mean is that CGI is excellent
in handling flat file data base, reading and writing files line by line,
word by wor. So is PHP equally strong?

- Original Message -
From: "Alain Fontaine" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Sunday, February 04, 2001 12:34 AM
Subject: Re: [PHP] CGI vs PHP


> Do you know what PHP is? Your question sounds like "How does MS SQL Server
> compare to a relational database".
>
> Anyway, you can do almost everything with PHP, and that includes handling
> flat files. No problem.
>
> ""phpLover"" <[EMAIL PROTECTED]> a écrit dans le message news:
> 95hl5r$1su$[EMAIL PROTECTED]
> > Can anyone tell how good is PHP when compared to CGI in handling flat
file
> > database. Can we handle flat files on PHP?
> >
> > Thanks
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>

"Alain Fontaine" <[EMAIL PROTECTED]> wrote in message
95hmg3$est$[EMAIL PROTECTED]">news:95hmg3$est$[EMAIL PROTECTED]...
> Do you know what PHP is? Your question sounds like "How does MS SQL Server
> compare to a relational database".
>
> Anyway, you can do almost everything with PHP, and that includes handling
> flat files. No problem.
>
> ""phpLover"" <[EMAIL PROTECTED]> a écrit dans le message news:
> 95hl5r$1su$[EMAIL PROTECTED]
> > Can anyone tell how good is PHP when compared to CGI in handling flat
file
> > database. Can we handle flat files on PHP?
> >
> > Thanks
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] CGI vs PHP

2001-02-03 Thread Alain Fontaine

Do you know what PHP is? Your question sounds like "How does MS SQL Server
compare to a relational database".

Anyway, you can do almost everything with PHP, and that includes handling
flat files. No problem.

""phpLover"" <[EMAIL PROTECTED]> a écrit dans le message news:
95hl5r$1su$[EMAIL PROTECTED]
> Can anyone tell how good is PHP when compared to CGI in handling flat file
> database. Can we handle flat files on PHP?
>
> Thanks
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] CGI vs PHP

2001-02-03 Thread phpLover

Can anyone tell how good is PHP when compared to CGI in handling flat file
database. Can we handle flat files on PHP?

Thanks



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]