Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] passing and recognizing cgi variables

From: webmaster:siliconspecies at: 27-Aug-2000 21:01

this is concerning a cgi app i am writing the app passes variables using a GET and calls itself so each time the cgi is run it would behave differently depending on what vars are being passed Oddness: first time in works fine after that I get a general server failure error can't seem to figure out why note I tried retrieving the returned variables according to the official guide: user-data-object: make object! decode-cgi system/options/cgi/query-string that did not work just returned ?object? when I printed it out so I changed it to: user-data: decode-cgi system/options/cgi/query-string which is a block i think but not the right form: ["var1name" "var1value" "var2name" "var2value", etc] as opposed to: [var1name: "var1value" var2name: "var2value" ,etc.] anyway thanks Jeff Rubin, CTO & Co-Founder Audiopia Shutup and Listen... also check out my personal site Brainbyte!