Script Library: 1213 scripts
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Discussion posts for script cgi-debug.r

1
brianwisti
3-Jan-2005 22:12

I found a small typo near the end:

              [set-net  [--from email address-- --defaukt-server]
 
2
sunanda
7-Jan-2005 13:18

Thanks

Typo corrected

3
grshiplett
9-Jul-2007 21:34
Hi


Will Rebol3 finally see -c place on/off or yes/no in systems/options 
instead of


   getobj: construct decode-cgi any [ system/options/cgi/query-string 
   "" ]


Having the query string in /system/options surely strikes more people 
than me as, well, odd,  ad-hoc or waiting to be re-factored.

Or not?
4
sunanda
10-Jul-2007 6:45

I've no idea if any changes will emerge in REBOL R3 in this area. Meanwhile, here are a few additional notes on the current behavior of REBOL R2:

  • The query string is in one of two locations depending on whether the data has come in as a get or a post
  • You can check that by the setting of system/options/cgi/request-method -- will be get or post -- or none for a non-CGI program.
  • The code needed to safely read CGI (regardless of GET/POST method and some other pitfalls) is available in the Library. See:
Notes