Is the web page doing a POST? or GET?

I never did get CGIParse to work reliably with POST, so I'd actually do some
finagaling to get it to work.

eval RcvRec = #CGIParse('-init')
CALLP #PutEnv(RcvRec)
eval FirstName = #CGIParse('-value firstname')
eval LastName = #CGIParse('-value lastname')

Been a while since I looked at this code. lol

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: Friday, December 07, 2007 9: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.