Dear rebolers,
I wrote me a little script that should use POST from a <form>, this
because I think its not wise to transfer lots of text in a GET type of
way.
Anyway, the script works good when I run it on my webserve.r
WebServer. But I cannot get it to work on my NT IIS4 WebServer.
The code:
--------------
print system/options/cgi/request-method
print "<br>"
print system/options/cgi/content-type
print "<br>"
postdata: make string! input do decode-cgi str
print postdata
--------------
The result on IIS4:
--------------
POST
application/x-www-form-urlencoded
--------------
And it newer stops loading.
The result should be:
--------------
POST
application/x-www-form-urlencoded
namn=test1&text=test2
--------------
Regards, Fredrik Bergstrom
--
[ PowerWebs have a good Webhotel for everyone, supports Rebol to =) ]
[ www.powerwebs.se ]
PowerWebs AB
W�xn�sgatan 10
S-653 40 Karlstad
Sweden
Tel: +46-(0)54-103377
Fax: +46-(0)54-103376
ICQ# 7654213