See the attached Html form and rebol script.  I am not sure what I am doing
wrong.  I also have attached the html results Im getting back.  My server is
MS iis4.0 run on NT4.0 which appears to work - I have set it up like in the
primer your referenced.  Not sure what I am doing wrong.  However, I am new
and not sure what the system/options/cgi part is or if that needs to be
modified.



----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 18, 2000 12:26 PM


>
> Paul,
>
> If you are using REBOL as a CGI language (it sounds like you are or
> I am misunderstanding your question), it is a good idea to read
> http://www.rebol.com/howto.html under the CGI section.  This is a
> good primer.
>
> What word is the filename stored in?
>
> Say you use the following line to read in the CGI query in the URL:
>
> query: make object! decode-cgi-query system/options/cgi/query-string
>
> And the name of the variable which holds the filename is FILENAME.
> If you want to send the contents of the file specified in FILENAME,
> you would do the following:
>
> send email(a)address.com read to-file query/filename
>
> If you only want to send the filename itself:
>
> send email(a)address.com query/filename
>
> I hope this helps!
>
> If you have any further questions, please let us know!
>
> REBOL Support
Title: Web Page emailer

Upload Emailer


This form will send a file to your email address.

Execute script by clicking on the submit button below ...


Copyright information goes here.
Last revised: January 17, 2000

websend.r

Title: Error in CGI Application

CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

** Script Error: decode-cgi-query expected args argument of type: any-string.
** Where: query: make object! decode-cgi-query system/options/cgi/query-string

Reply via email to