[REBOL] Re: better post, get, cookie support?
From: gscottjones:mchsi at: 27-Aug-2002 8:24
Hi, Joel,
From: "Joel Neely"
<snip>
> The other thing that is severly missing is any ability to get
> to the environment (and I really hope somebody can show me that
> I've missed something here!)
Is this the REBOL object that you seek?
system/options/cgi
Sample script:
#!/path/to/rebol --cgi -s
REBOL []
print "Content-Type: text/html^/"
print <html>
env: first system/options/cgi
foreach env-var env: next env [print [to-word env-var "=" get in
system/options/cgi env-var <br>]]
print </html>
--Scott Jones