1. Re: CGI in Euphoria

Pete Eberlein wrote:

>I'm not sure what you mean by globally, but the files STDIN and
>STDOUT relate to the predefined Euphoria file numbers 0 and 1,
>respectively.
>Irv's cgi files use temporary input and output files declared by
>the HTTP program ( the filenames are passed via environment
>variables).  I've got some CGI programs around here somewhere...
>one took a euphoria program off my hard drive, applied syntax
>coloring in html and returned it to the browser.

Sorry, I was kinda vague :)

Basically what I want to do is be able to use a language (such as Perl or
Euphoria), and use it for CGI scripting *locally*. Like be looking at a
local page, then filling out a form & running a script, and having the
script return its results to the browser, not the console... just like
what would happen if you were surfing online.

Can it be done?

----------------------------------
Irv wrote:

<code snipped>

It didn't work. #1, it gave me an error that said "Line 18: this is
supposed to be a sequence". #2, it didn't send the output to my browser,
even after I changed the 'fn' to '1'.

BTW, I was doing this locally without a webserver or anything running.
What should I be doing for this to work?


----->Buddy
budmeister1 at juno.com

_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu