Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Really really dumb newbie question

Really really dumb newbie question
Thread Tools
Forum Regular
Join Date: Nov 2001
Status: Offline
Reply With Quote
Jan 14, 2002, 10:24 PM
 
What does CGI stand for?

Can someone recommend a site where I can download some counter scripts that I can put on my web page. I am a newbie at this so the easier the better but I don't want to use any of the commercial ones off the net.
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Jan 14, 2002, 11:46 PM
 
CGI stands for Common Gateway Interface. It's a way of using a Web browser to run programs on a server, and have that program send its output back to the Web browser. The earliest dynamic Web pages used CGI, and many still do. It's beginning to sort of fall out of fashion, in favor of PHP, ASP, ColdFusion, and other methods which run as a part of the Webserver itself, rather than running a separate program, but it's still in common use.

The interesting thing about CGI is that it's not tied to one language. Any program that can read input from the command line and output back to it can, at least in theory, be a CGI program. Most are done in Perl, but you can also find them in Tcl, Python, shell scripts, plain C applications... even AppleScript!

In terms of finding counter programs, I suggest starting your search at [url]http://www.hotscripts.com[/b]. There are plenty of things there to get you started.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
Mac Elite
Join Date: Mar 2001
Status: Offline
Reply With Quote
Jan 17, 2002, 09:28 PM
 
You're right. It was a dumb question consdering you're on the 'net and there are a million and a half dictionaries at your fingertips. If you cut off your fingers than it wasn't a dumb question
     
Mac Elite
Join Date: Mar 2001
Status: Offline
Reply With Quote
Jan 17, 2002, 09:32 PM
 
Originally posted by Millennium:
[QB]The earliest dynamic Web pages used CGI, and many still do. It's beginning to sort of fall out of fashion, in favor of PHP, ASP, ColdFusion, and other methods which run as a part of the Webserver itself, rather than running a separate program, but it's still in common use.

The interesting thing about CGI is that it's not tied to one language. Any program that can read input from the command line and output back to it can, at least in theory, be a CGI program. Most are done in Perl, but you can also find them in Tcl, Python, shell scripts, plain C applications... even AppleScript!

[QB]
Ummm ASP is not run "as part of the Webserver itself" as it exists as ASP.DLL which is just another ISAPI. You have ASP.DLL (and your app) run in the same process, its own process, etc completely separate from the web server.

All server-side scripting languages qualify as CGI. Just because it's not Perl, Python, TCl, etc doesn't make it NOT a CGI. CGI is a broad term. People just seem to think that a "scripting" language is different than CGI and new kids think CGI is an old technology. I guess the word has fallen out of favor to "scripting". Whatever..

..Just my 2 lines of script..
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:47 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2