Question about The PHP Group PHP

2 Answers

CGI PHP What are the advantages of CGi over PHP?

Posted by on

2 Answers

  • Level 1:

    An expert who has achieved level 1.

    Corporal:

    An expert that has over 10 points.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 8 Answers

Comparing the two is not comparing apples and apples.

CGI is an interface for defining how a script runs in response to a web request.

PHP is a language for writing scripts, often used on the web.

It's possible to run PHP in several modes, one of which is CGI (and CGI mode can offer some security advantages over other PHP modes if configured correctly).

One advantage of CGI over PHP might be that you can potentially run more applications via CGI - because CGI allows you to run most PHP scripts as well as programs in other languages, you have a larger set of tools to choose from.

However, I think the correct answer is that the right tool for the job depends on the job at hand. In most common cases, PHP running as a module embedded in the webserver is much faster than standard CGI.

Posted on Nov 26, 2008

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that got 5 achievements.

    Governor:

    An expert whose answer got voted for 20 times.

    Hot-Shot:

    An expert who has answered 20 questions.

  • Expert
  • 50 Answers

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Hello sir, How do we link a java applet code to an oracle database..


The java applet code can only communicate with the server the applet was loaded from (unless it is signed and trusted by the browser).

Then, you need one of the following : Either
*) Your database server will need to be the same as your web server (and open to the world). This is not recommended at all, for security reasons mainly, but also performance reasons.
*) You will need some server side scripts (php and/or cgi) to handle specific requests from the applet and send the information back. (Give some thought to the fact that people might access these scripts without the applet, and will be able to see all the communication between applet and script)

Is there a specific reason for using an applet, rather than javascript/AJAX ? I ask because more browsers support the latter than the former.

May 13, 2010 | Sun Java Programming Language (cdj-275)

1 Answer

How to develop a image upload screen in php


I suggest you use freely available php frameworks such as yii, cakephp, joomla, drupal and so on. Some of these would already include an upload page. The advantage of using these kinds of frameworks is that it would ease and speed-up your development.

Mar 08, 2010 | The PHP Group PHP

1 Answer

I have no cd to install the x5320 all-in-one . i bought this and there was no cd for it


Follow this link:
http://downloads.lexmark.com/perl/downloads/downloads.cgi
You'll have to enter your operating system to get the drivers you need.

If this is a help, be sure rate the answer.

Jul 26, 2009 | Computers & Internet

1 Answer

I want the drivers of toshiba tecra m4 laptop


Hi there.
Get the drivers from Toshiba support here >>>>>>


http://www.csd.toshiba.com/cgi-bin/tais/support/jsp/modelContent.jsp?ct=DL&os=&category=&moid=893054&rpn=PTM42U&modelFilter=M4&selCategory=3&selFamily=1073768664


Good luck and thanks for choosing FixYa!!

Jun 08, 2009 | Microsoft Computers & Internet

3 Answers

PHP Tags


hi,
if you want to be experienced with php programming language i think you should learn HTML and CSS and have some basic understanding about JAVASCRIPT , then you can start learning php.
the best website to learn php language is w3schools .

Good luck,

please don't forget to rate this post

Sep 07, 2008 | The PHP Group PHP

1 Answer

PHP Error 500


Internal Server Error 500 is usually caused by either a malformed cgi script or an invalid directive in an .htaccess file located either in the same directory as the page throwing an error, or in any directory above it.

Have you recently uploaded or editted an .htaccess file that includes mod_php related directives such as php_value ..., php_flag ...?

If you did start your search there.

Aug 26, 2008 | The PHP Group PHP

Not finding what you are looking for?
The PHP Group PHP Logo

Related Topics:

694 people viewed this question

Ask a Question

Usually answered in minutes!

Top The PHP Group Computers & Internet Experts

Robin Hill
Robin Hill

Level 3 Expert

1251 Answers

Mike

Level 3 Expert

4332 Answers

Mishan Kasiparsad

Level 2 Expert

142 Answers

Are you a The PHP Group Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...