Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CGI vs PHP

Status
Not open for further replies.

bigfoot

Programmer
May 4, 1999
1,779
US
Going one more step. We are running IIS 5 on Win2k Server.


We are now using ASP, but I wanted to look into other packages too.

Asked about PHP (thank you), also wanted to inquire about CGI. Anyone?

Thank you ahead of time...

Gary
 
CGI is not a programming language. CGI is a specification for getting data into an application running on a web server.

______________________________________________________________________
TANSTAAFL!
 
"CGI scripting" is as nebulous a term as "CGI"

PHP can be used as a CGI scripting language. So can VBScript, perl, C, C++, python, ruby, scheme, JavaScript, Java and a babel of other languages. For that matter, you should be able to use Fortran and modern COBOL dialects as CGI languages.

The only thing a programming language needs to be usable as a CGI scripting language is the ability to take input from standard in, send output to standard out, be able to read environment variables, and be invokable by a web server.

Any given language is better than others as a CGI language by virtue of good string manipulation, wealth of built-in functions, and usable security.
______________________________________________________________________
TANSTAAFL!
 
Thanks sleipnir214, for clearing that up for me. So when my friend says he creates CGI scripts, I am to ask him "in what language".

Sounds ok to me.

Thanks for the lesson. :)
 
That's always my first question... ______________________________________________________________________
TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top