Would it be possible to use the REBOL console via CGI? As follows:


1. Enter commands in to a text area within a Web form. The text area is 
given the name "rebol_input"

<TEXTAREA NAME="rebol_input" ROWS="10" COLS="80"></TEXTAREA>


2. Hit <ENTER> and the contents of the query_string, containing a single 
string value for a single word called "rebol_input", is sent to a script.


3. The script decodes the CGI and creates the value 'cgi-input/rebol_input 
containing the input string for the console

        cgi-input: make object! decode-cgi system/options/cgi/query-string

4. The script executes 'cgi-input/rebol_input sending the command to the 
console.

        do cgi-input/rebol_input

5. Now here is where I'm stuck. How can I grab the result from the binary so 
that I can print it to the browser?

Reply via email to