Hello and welcome to the Webmasters Forums!. This is the best place to get webmasters resources for free. Get $2 for free today, read more - Make your payment today. Download premium and professional templates for free. Get free web hosting without ads, read more. You can get lot more by simply join with this forum. To gain full access to the forums you must sign up for a free account.


Post Reply  Post Thread 

CGI is NOT a scripting language....

Post Bank
Posting Manager
******

Posts: 995
Group: Forum Team
Joined: Sep 2006
Status: Online
Make money from now. You can make money just for posting on this forum. Every discussions on this community gives you more money. $2 minimum payout. So get your payment today, SignIn with this forum.

Signin to Remove this Post

maddog39
Newbie


Posts: 27
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 1
Points: 110 (Donate)
Post: #1

CGI is NOT a scripting language....


Hello all,

I would like to state that CGI is NOT a scripting language in ANY form. CGI simply stands for Common Gateway Interface. It is simply used by some sort of backend scripting language, in most cases its perl to interface the web. However, you can use CGI with ANY language that supports the CGI standard, whether it be Python, or PHP, or even raw C or C++ code. You should definately change the wording in and on the CGI forum as its very misleading.

-maddog39

22-07-2007 03:00 PM
Find all posts by this user Quote this message in a reply
ivenms
Administrator
*******


Posts: 2,177
Group: Administrators
Joined: Sep 2006
Status: Offline
Reputation: 14
Points: 4389 (Donate)
Post: #2

RE: CGI is NOT a scripting language....


Great Tip goes here.


What is a Scripting Language?

Scripting languages (commonly called scripting programming languages or script languages) are computer programming languages that are typically interpreted and can be typed directly from a keyboard. Thus, scripts are often distinguished from programs, because programs are converted permanently into binary executable files (i.e., zeros and ones) before they are run. Scripts remain in their original form and are interpreted command-by-command each time they are run.

Since Iam not much familiar with the CGI, I can't give a detailed description about it. Does CGI programs runs on binary mode?


Read: General Rules & Policies before posting.
Make Money By Posting | Earning and Exchanging Points | Add Your Links
22-07-2007 03:32 PM
Find all posts by this user Quote this message in a reply
maddog39
Newbie


Posts: 27
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 1
Points: 110 (Donate)
Post: #3

RE: CGI is NOT a scripting language....


They can do both (technically). There is a very easy way to run a C program designed to work with CGI in your cgi-bin directory. In that case it would run as a binary for sure. In the case of the scripting language, the scripting language interpreter or for instance /usr/bin/perl is an actual C program that interprets the text which is given to it, in this instance, would be the script. The same thing goes for python and php which are also interpreted scripting languages. So essentially the interpreter program is running in binary mode on CGI and thats what CGI sees, as far as I know.

This post was last modified: 22-07-2007 03:38 PM by maddog39.

22-07-2007 03:38 PM
Find all posts by this user Quote this message in a reply
ivenms
Administrator
*******


Posts: 2,177
Group: Administrators
Joined: Sep 2006
Status: Offline
Reputation: 14
Points: 4389 (Donate)
Post: #4

RE: CGI is NOT a scripting language....


Hmmm.....

Thanks for clearing the doubts I had.

Valuable technical points shared by you. Positive reputation goes to you.

Thanks Smile


Read: General Rules & Policies before posting.
Make Money By Posting | Earning and Exchanging Points | Add Your Links
22-07-2007 03:52 PM
Find all posts by this user Quote this message in a reply
maddog39
Newbie


Posts: 27
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 1
Points: 110 (Donate)
Post: #5

RE: CGI is NOT a scripting language....


Hehe thanks. If you have anymore questions (technical ones), I'd love to answer them. Big Grin

22-07-2007 04:17 PM
Find all posts by this user Quote this message in a reply
walsh
Senior Member
****


Posts: 438
Group: Registered
Joined: Oct 2006
Status: Offline
Reputation: 0
Points: 764 (Donate)
Post: #6

RE: CGI is NOT a scripting language....


That is a new information to me. I thought that CGI is also a scripting language like others.

Is every language runs on web is scripting language?

If not, which are them?


25-07-2007 11:19 PM
Find all posts by this user Quote this message in a reply
ivenms
Administrator
*******


Posts: 2,177
Group: Administrators
Joined: Sep 2006
Status: Offline
Reputation: 14
Points: 4389 (Donate)
Post: #7

RE: CGI is NOT a scripting language....


walsh, check the Definition of Scripting language on the post above.

Those which satisfies the definition can be called as a scripting language. A more clear description about this subject can be given by maddog39.


Read: General Rules & Policies before posting.
Make Money By Posting | Earning and Exchanging Points | Add Your Links
26-07-2007 12:57 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

Sign In to Remove Ads

Download 1000's of web templates. Unlimited access!
World's Best Web Hosting
Resources

Recommended Sites:



Visit our Sponsors!

Current time: 21-11-2008, 01:23 PM


Copyright © 2002-2008 MyBB Group
Powered By MyBB