Re: embedded eu scrupting in a eu program?
- Posted by acran at readout.fsnet.co.uk Mar 01, 2003
- 539 views
At 04:47 PM 2/28/03 -0600, you wrote: <snip> >As far as i know, no one has been able to get a cgi script running on a linux >box but Robert. I've done it on win95. <snip> Hello Kat, I am happy ro report that I was able to get a Euphoria CGI script running on a Linux box. I'm not claiming to be be a CGI expert but I guess it was more straight forward for me because I'd written CGI "scripts" in compiled C before. Most "CGI'ers" are Perl addicts or use some sort of M$ "point and clunk" solution. Mind you writing CGI scripts in compiled C is at best, "unusual", or more appropriately, "twisted so far it'll fit backwards both ways (including sideways)". Anyway the proof is in the code - download: http://www.rapideuphoria.com/intphone.zip If you don't like direct links then search the RDS archive with the: intphone keyword. As I recall my intention for posting this code was not the fact that is was a great telephone contact solution (it isn't: bad code and hardly scalable) but that it was an example of how to write Euphoria CGI scripts on Linux. Actually I've just looked at the documentation (dated 24th June 2002: where does the time go?) and I quote: "However, it's main use is to demonstrate using Euphoria as a CGI scripting language." There is a demon in there for sureIf anyone does actually download this code and has any questions then post them to the list (or email me privately). I'll do my best to help and I might even come up with some novel excuses for my bizarre/crazy/mad/hopeless coding technique. Don't hold back folks I need all the (positive) help I can get! Regards, Andy Cranston.