× 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.



Aaron,

Not sure if this will help you or not but when QzhbCgiParse first came out (V4Rsomethingorother), the function to initialize it so you could go after POST data didn't work. That was around the time that I started writing RPG CGI programs that use it and the fix was to get the POST data and set the QUERY_STRING environment variable before using QzhbCgiParse. The code is used by every CGI program I've done since then and I don't have any problems with +'s.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Aaron Bartell
Sent: Friday, December 07, 2007 10:33 AM
To: 'Web Enabling the AS400 / iSeries'
Subject: Re: [WEB400] QzhbCgiParse and plus (+) sign

Follow-up.

I updated my i5 with the latest and I am still getting plus signs. Brad, I
wonder if the difference here is that you are most likely going after each
form variable separately? Again, here is my code:

cont_len = charToNbr(getEnvVar('CONTENT_LENGTH'): 0);
bufPtr = %alloc(cont_len);
cmd = '-POST' + x'00';
qzhbcgiparse(cmd: 'CGII0100': buf: cont_len: rsplen: qusec);

Note that I tried the CGII0200 format also - same results. Would it have
anything to do with the request headers? (i.e. content-type)

Anybody?
Aaron Bartell
http://mowyourlawn.com


--
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/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



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.