View Full Version : CGI Question. Oh yeah, I'm new!


DwarfMcDougal
07-16-2003, 12:23 AM
Hi everyone! :D Just a newbie here. Very very nicely set up forum area. I've used this site many times and it's a great help. Thanks! Anywho, I've been wondering about CGI. What exactly is it? And how can I use it? I want to use it for commenting and such but I don't know how. Could anyone help? It'd be greatly appreciated.

Dude128
07-16-2003, 03:09 AM
CGI stands for Common Gateway Interface (I think lol :P)

it's not a scripting language itself, but more of a method of using another language- an interface, as the I in CGI indicates. the language most commonly used with CGI is Perl- which is the language that you would actually be learning if you wanted to learn how to create your own CGI scripts.

to use it on your own server (assuming you have a cgi-bin. if not, you're either out of luck or you need to use remotely hosted CGI scripts), you have two options. either find pre-made scripts (like for commenting), and just install and use them. or you can learn the language and write your own scripts for whatever you need. a Google search for Perl tutorial should get you plenty of tutorials should you want to learn the language. if you just want scripts, try searching for Perl scripts or Perl [insert name of script you want] script

Makar
07-16-2003, 03:14 AM
Yeah, places like Tripod will offer a CGI-bin, and also comes with helpful tutorials. :)

DwarfMcDougal
07-16-2003, 09:10 PM
Thanks everyone. This is definately a help!