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

[REBOL] Re: CGI POST input

From: g:santilli:tiscalinet:it at: 19-Nov-2000 12:02

Hello Joel! On 19-Nov-00, you wrote: JN> OTOH, if I try repeatedly calling for input, concatenating JN> the results into a single string until the total length JN> equals the content-length, I get a script that never JN> terminates. JN> Does anyone know of an officially-sanctioned, reliable JN> approach to reading data from large forms (via POST, of JN> course)? Did you try opening console:// and reading from there? Like: port: open/binary/no-wait console:// while [need-more-chars] [ wait port insert tail form-input copy port ] close port (I didn't try if /NO-WAIT works with CONSOLE://, tough) Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/