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