1. attention Robert Craig
- Posted by "Darth Maul, aka Matt" <Uglyfish87 at HOTMAIL.COM> Aug 28, 2000
- 529 views
Hi, I was wondering, how do you write CGI scripts and what did you write them in? How did you implement it? Thx in advance for answering a dumb question, - Matt
2. Re: attention Robert Craig
- Posted by Robert Craig <rds at ATTCANADA.NET> Aug 28, 2000
- 487 views
- Last edited Aug 29, 2000
Matt writes: > I was wondering, how do you write CGI scripts > and what did you write them in? How did you implement it? Irv Mullins has some nice tutorials for CGI in Euphoria. They're on the RDS Web site. Search for CGI Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com
3. Re: attention Robert Craig
- Posted by gebrandariz <gebrandariz at YAHOO.COM> Sep 20, 2000
- 501 views
Matt, Sorry about the late late answer, but I've been rather offline. ----- Original Message ----- From: Darth Maul, aka Matt <Uglyfish87 at HOTMAIL.COM> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Monday, August 28, 2000 8:07 PM Subject: attention Robert Craig > Hi, > I was wondering, how do you write CGI scripts and what did you write them > in? How did you implement it? > > Thx in advance for answering a dumb question, > - Matt You can write CGI in any language able to interact with a browser and a HTTP-able net (Internet, intranet, even a "local" net -usually port 1234- in your own system). You do this just by "printing" your HTML code, and "posting" your forms. Euphoria can do this, and so can Perl (commonly used, mostly on Unix/Apache environments), Python, etc. Almost any language can. As for tutorials and examples, they abound on the net. Try searching for "cgi tutorial", "cgi script" and the like. I would recommend you the following: "CGI 101" by Jacqueline Hamilton, an e-book at www.cgi101.com. A good 200KB pdf (Acrobat Reader or equivalent needed) you can download. Includes the first six chapters of the book (the rest ain't free, she's gotta make a living too, dammit), but those six cover all the basics. Centered on Perl and Unix, but quite easy to follow even if you don't know the first thing about them (Perl is like Eu, but not as pretty). "CGI Made Really Easy" by James Marshall, at www.jmarshall.com. Just a series of online docs you can browse or download. For dummies (no offence intended, I was one once; everybody was). Look at the footnotes. The NCSA docs at http://hoohoo.ncsa.uiuc.edu/cgi/. A bit simple and stuffy, but worth a look. The Selena Sol tutorial at http://www.extropia.com/tutorials/sql/, if you want a glimpse at database sql queries thru cgi. Uses Perl, Windows and Access. Queer. And of course the official W3 specs (you'll drown in info and links), at http://www.w3.org/CGI/. Most big IT sites have lots of useful info, be it tutorials, sample scripts and/or links. Try Webdeveloper at http://www.webdeveloper.com/ or http://wdvl.com/; Freeware Home at www.twocom.com/freeware/; Ziff-Davis's ZDNet at www.zdnet.com and ZDNet's Softseek at http://www.softseek.com/ (look for Programming -> Tutorials and Reference); Earthweb at www.earthweb.com (try their TechCrawler); the very complete if somewhat cryptic books at Netscape's DevEdge (http://developer.netscape.com/), and so on. You may also want to browse the beautiful W3Schools site at www.w3schools.com, which include (a rare find indeed) several online working excercises you can modify and see how they perform, all the while generating your very own code that you can copy and take the rest of the afternoon off. And every table and list of codes, colors, MIME types, HTTP status and similar you may ever want (and you will), you can find at the December HTML Station, http://www.december.com/html. Don't worry, there's tons of stuff all around. Would you believe the Virtualville Public Library? Go to http://www.virtualville.com/library/cgi.html. Though, be warned. By the time you have it down pat, and up and running (up and down? inside out? whatever), you'll want to learn XML. And SVG. Sorry, you asked for it. I really must bring up a page with all those links. Cheers. Gerardo. __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com