1. RE: EU-CGI
- Posted by jxliv7 at hotmail.com
Aug 25, 2003
if you're using Linux/BSD, then you have to have a shebang on the first
line. but, not necessarily for Windows (although you can).
i've discovered in the WindowsNT/2k/XP family, all you need to do is
change the PATHEXT variable in your environment to include the programs
you're going to use for cgi. (it's true for Perl, too, with a ;pl
extension, and so on)
for example, adding ;ex;exe to list of PATHEXT variables, Euphoria
applications are easy to include as your 'new' scripting language.
whenever you get an HTML call for something like trickpony.ex cgi will
jump to that program (in the cgi directory) and execute it (like the
example Elliott just gave).
plese note that "CGI: and abbreviation for common gateway interface. A
means for allowing programs or scripts (usually written in C++ or Perl
[ed: also Euphoria]) to add functionality to the World Wide Web. Note:
Examples are search engines, feedback forms, and guestbooks."
--
jon