× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



There is a very easy workaround for this though.  You can
use CGIParse with the init command string and it will return
StdIn in query string format.  Then you can use PutEnv to
put it and then use CGIParse again to get each variable.

Brad
www.bvstools.com

On Thu, 8 May 2003 14:34:03 -0500
 "Bob cozzi" <cozzi@xxxxxxxxx> wrote:
> cgiParse only works when METHOD="GET" on the form.
> Also, QUERY_STRING must be in uppercase when you call
> cgiParse, and it
> should also be initialized.
> 
> 
> Bob Cozzi
> Cozzi Consulting
> www.rpgiv.com
> 
> 
> -----Original Message-----
> From: web400-bounces@xxxxxxxxxxxx
> [mailto:web400-bounces@xxxxxxxxxxxx] On
> Behalf Of jrc@xxxxxxxxxx
> Sent: Thursday, May 08, 2003 1:11 PM
> To: web400@xxxxxxxxxxxx
> Subject: Re: [WEB400] CGI and *LIBL
> 
> I have a CGI program that I hadn't touched in a while and
> has been in
> production for over 2 years. It was originally written
> using QtmhCvtDB, and
> since I wanted to add another incoming field I went ahead
> and switched it
> over to use CGIParse, which I've been using for some time
> with no problem.
> 
> Since I have done that, however, I have several users
> complaining of
> intermittant problems: through debug I have found that on
> occasion the
> environment variables are not being returned from the
> CGIParse API.  Most of
> the time this works fine and I am unable to repeat the
> problem in house, so
> I can only debug when a user calls to complain.
> 
> Does anyone have any idea why CGIParse would NOT find the
> environment/query_string???
> 
> 
> Thanks,
> 
> Joel
> _______________________________________________
> This is the Web Enabling the AS400 / iSeries (WEB400)
> mailing list
> To post a message email: WEB400@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo.cgi/web400
> or email: WEB400-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/web400.
> 
> 
> 
> 
> _______________________________________________
> This is the Web Enabling the AS400 / iSeries (WEB400)
> mailing list
> To post a message email: WEB400@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo.cgi/web400
> or email: WEB400-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/web400.
> 

Bradley V. Stone
BVS.Tools
www.bvstools.com

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.