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

passing and recognizing cgi variables

 [1/2] 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... http://www.audiopia.com also check out my personal site Brainbyte! http://www.brainbyte.com

 [2/2] from: al::bri::xtra::co::nz at: 28-Aug-2000 15:06


Jeff Rubin wrote:
> 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:
Try: probe user-data-object to see what's inside the object. I hope that helps. Andrew Martin ICQ: 26227169 http://members.xoom.com/AndrewMartin/