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



You understood correctly. I also tried your URL with a POST using my Web
Service Tester and it returned blanks. Great, now I get to load PTF's - I
hate loading PTF's :-) Everytime I do it I have to learn the process all
over again.

Thanks Carl,
Aaron Bartell
http://mowyourlawn.com

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Bradley V. Stone
Sent: Thursday, December 06, 2007 10:38 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] QzhbCgiParse and plus (+) sign

If you're still getting the + sign in your data, then either you're doing it
wrong or need a PTF. :)

See this example (from my eRPG(v2) book)

http://www.bvstools.com/erpgv2/tcgiparse1?firstname=brad+vernon&lastname=sto
ne

This example uses CGI Parse API, reads in the data and returns the results.

Sorry if I misunderstood the question.

Bradley V. Stone
BVSTools - www.bvstools.com
eRPG SDK - www.erpgsdk.com

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


Hi all,



Working with QzhbCgiParse today and am finding that the plus (+)
sign, used
as a placeholder for the space character, isn't being decoded (i.e. it is
still there after running QzhbCgiParse). All of the other values
are being
properly decoded (i.e. ones that begin with % sign). Note that a POST is
being done vs. a GET.



Here is the jist of 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);



I have my own find/replace tool I can use to fix this problem, but I was
hoping the QzhbCgiParse would do it.



Anybody have input as to why it wouldn't be converting the plus sign to a
space?

Thanks,

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

Follow-Ups:
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.