There is no true limit in RPG xTools' CGILIB. The cgiSetVarEx() (instead of
the "normal" cgiSetVar()) procedure allows you to pass a value and its
length. You can have pretty large values. Although the more "restrictive"
cgiSetVar() proc allows up to 64k variables which is probably large enough.
I use it to edit messages posted on my forum and that thing allows up to
3500 characters.

-Bob Cozzi
www.RPGxTools.com
RPG xTools - Enjoy programming again.


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Mike Skvarenina
Sent: Wednesday, January 11, 2006 8:34 PM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] Variable size (limitations)?

Does anyone know the limitations for the passing of an HTML variable to and
from an RPG program using CGIBIN2 and/or Bob Cozzi's RPG xTools?  I'm trying
to create a task management tool where I can create tasks for my staff,
publish specifications, developer notes, etc and I need to know how just how
big I can make a text box to support each "note" type.

 

Also, is there a way to browse to Windows to "attach" scanned documents?
Ideally what I'd probably want to do is do a browse, open up a Windows
dialog box to search for a file ,then when selected copy it to the IFS where
I could then reference it later from a web page via my CGI programs.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.