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

[REBOL] CGI: reading POST-method data with read-io Re:(5)

From: tim:johnsons-web at: 25-Aug-2000 16:51

Hello: When Holger speaks, I pay attention. I have the following line of code for reading POST input from CGI as follows: ;======================================= either tmp > 0 [ buffer: make string! (tmp + 10) ; allocate storage space while [tmp > 0] ; and read ; I think Holger suggests this is not good: [tmp: tmp - read-io system/ports/input buffer tmp] return buffer ] What would be a safe alternative, please? TIA -Tim [holger--rebol--com] wrote: