Hi,
[EMAIL PROTECTED] wrote:
>
> >Hi,
> >> On 20-Jan-00, [EMAIL PROTECTED] said about the subject [REBOL] POST method
>
> >> under IIS3/4 Re::
> >>
> >> Hmm, I just realised the PUT, DELETE extras mentioned in the cgi howto isn't
>
> >> setup in IIS4 configuration. Would that likely cause a problem ?
> >>
> >I looked at HTTP protocol (RFC 2068), and I don't think so. These are
> >just two of seven HTTP methods (OPTIONS, GET, HEAD, POST, PUT, DELETE,
> >TRACE). PUT is used for uploading pages and replacing them with newer
> >versions, and DELETE is for deleting pages. The setting in IIS4 for
> >excluding methods is for safety, so that scripts cannot modify or
> >delete files on the server.
>
> Thanks for the info. I thought that wouldn`t have affected things. I did manage
> to get form postings to work though (wahey!!).
>
Great, but do you know what caused that strange "?unset? 15 ?unset?"
behaviour? I was not able to reproduce it.
> I used the lines:
>
> read-io system/ports/input data: 2000 2000
> post: decode-cgi data
>
> and I`ve managed to pick up the contents of the form but (isn`t there always)
> it appears to be picky as to when I can access the values that have been decoded.
> I have a line that pulls some of the info from the form and builds up the contents
> of an e-mail.
>
> So for example as part of my message I have:
>
> message: rejoin [
> "name:" name newline
> . and so on ...
>
> I get an error message displayed saying:
> "Script Error: name has no value"
>
> While if I (for testing purposes) have the line "print post" above the message
> building, it has no problem obtaining the name value. What could be causing
> this strange problem and anyway to get around it without having to display the
> test info ?
>
> Ed.
Send me that script, and the HTML form as well please. I'll look at it.
--
Michal Kracik