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



I Want to receive data from a POST that's sent from a credit card company.

I started with the example program getpost. It writes output HTML so you
can type in sample post data and then it returns to show you it processed
it.

When I strip out the output and just read the input with these two lines, I
get the correct number of variables received, but nothing in xinput.

// Get browser input
nbrVars=zhbgetinput(savedquerystring:qusec);
xInput=zhbGetVar('xInput');

Do I need something else to get the input data?

My complete program is simple, just trying to make sure I can get the input
string.

ctl-opt dftactgrp(*no) Actgrp('GETPAYZR');
/copy CGIDEV2/qrpglesrc,hspecs
/copy CGIDEV2/qrpglesrc,hspecsbnd
/copy CGIDEV2/qrpglesrc,prototypeb
/copy CGIDEV2/qrpglesrc,usec
/copy CGIDEV2/qrpglesrc,variables3
*
xInput s 100

// Get browser input
nbrVars=zhbgetinput(savedquerystring:qusec);
xInput=zhbGetVar('xInput');

return;

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.