Fredrik -

In Vanilla (http://www.langreiter.com/vanilla) I use this method of
handling POST data (I tried several and this is the only one that didn't
hang the REBOL interpreter - I was using Apache/Win32):

; GET
params: decode-cgi system/options/cgi/query-string

; POST
grandebuf: make string! 4096
while [not = buf: copy/part system/ports/input 4096 []] [
 append grandebuf buf
 ]

; Combine GET and POST
insert params decode-cgi grandebuf

Enjoy,

Chris

[http://www.langreiter.com http://www.langreiter.com/vanilla]

Reply via email to