CGI Questions

1

CGIConvMode BINARY – Help, I cannot make it working.
In the CGI, I use iconv() to translate all input/output from ebcdic to utf-8 (ccsid 1208) and vice versa for the body. For the CGI output Header I don’t process any translation, add x’15 twice to make a blank line. (as the HTTP default should make the translation from 37 to 819 for the http [...]

Answer Question   |  March 31, 2012  11:21 AM
Binary data, CGI, IBM i
asked by:
20 pts.

Best way to allow web app to change ship-to address
Current pgm in RPGLE CGI works OK. I’d like to add option for user to change the existing ship-to address. I have the new “EDIT” button working in the existing display (of current ship-to) section of the html. I’m stuck on how to make the functionality work. Advice is always welcome, but an example would [...]

Answer Question   |  March 31, 2012  4:22 PM
CGI, CGIDEV2, RPGLE, Web applications
asked by:
1,565 pts.

Disconnect from SSL Web session using RPGLE/CGI
I have searched high and low and cannot find a way to send a disconnect to the iSeries server using RPGLE/CGI.  I have a secure application that works just fine.  The initial login page will display and all is well.  However, I would like to add a “LOGOUT” button to the web pages and have [...]

Answer Question   |  May 31, 2011  8:43 PM
CGI, RPGLE, SSL, SSL bridging, V5R4
asked by:
5 pts.

Need help on running combination of Nagios, Nconf, and Nagiosgraph on Linux
Hi, I am new to Nagios and I am having problem to put all this applications together. I have very limited knowledge of all this tools and availability, so I need experts help on this. Here are the steps that I went thru: I installed Nagios in one of my Linux server. In the same [...]

Answer Question   |  February 23, 2011  2:49 PM
CGI, Linux Scripts, Linux servers, Nagios, Nagiosgraph, Nconf
asked by:
10 pts.

Writing webservices which is better Appache CGI/RPG or PHP?
We just had a project request come down to write some webservices for our iSeries. Currently we are running V5R4M5. We are looking to upgrade our OS to 6.1 next month. We already have a few CGI apps running, but they are small. The webservices would be much larger in size and scope. Going forward my question [...]

Answer Question   |  January 27, 2010  5:31 PM
Apache, CGI, PHP, Web services
asked by:
3,910 pts.

CGI loses percent sign
We have a web app ( a CGI) written in RPGLE and HTML that prompts for several data fields and writes a record to our web iseries. When the Comments field contains a percent sign (“%”), the data file ends up without that symbol and the next character is gone, too. Is there a simple [...]

Answer Question   |  November 5, 2009  9:38 PM
CGI, RPGLE, Web application development
asked by:
1,565 pts.

Recommendations on learning CGI for RPG-backend website?
Anyone have any good recommendations on (free) sites where I could learn CGI from examples, etc?  I’m going to be creating some interactive webpages for our company, and am told I’m gonna be doing it in CGI+RPG…so…better learn it! I am familiar with using APIs, and ILE RPG, and HTML+CSS and a bunch of other [...]

Answer Question   |  October 30, 2009  6:51 PM
AS/400, CGI, HTML, recommendations, RPG IV
asked by:
4,990 pts.

Tempory Zip Creation with Archive::Zip or other PERL Module
Is it possible with PERL to create a temporary zip file that is just served up? (vs. create zip, provide link, delete file)  I am not looking for code but more a point in the right direction to do something on the fly. I do have shell access. For example let’s say that I have a [...]

Answer Question   |  January 24, 2010  2:09 AM
Apache, CGI, Linux servers, Perl, Zip
asked by:
60 pts.

Mod Rewrite Fails with Encoded Urls Containing & ” #. Help…
I am using mod rewite quite successfully but I have a user who keeps using illegal characters and it breaks my program. It seems that either the & or the # may throw things off. I am in desperate need of some help. I’d rather not have to stop the users from being able to [...]

Answer Question   |  August 21, 2009  2:01 AM
Apache, CGI, Mod ReWrite, Perl, URL Encoding
asked by:
60 pts.

Get user id in CGI RPG program
Please, kindly advise on this issue I am having. Program is coded in RPG and is a CGI module. I tried to get user-id from program data structure, but this “UserID 254 263″, but it shows QTMHHTTP, because this pgr runs on HTTP server. How else can I obtain real user-id of the user who [...]

Answer Question   |  August 14, 2009  6:31 PM
CGI, Java, RPG, RPGLE
asked by:
115 pts.

CGI Error
What is the best solutions to fix CGI Error upon login to a Web Application? There were successful login for almost 800 plus users and succeeding users encountered the error. Target users to access the internal web application is 2000. Any advise?

Answer Question   |  March 30, 2009  1:38 AM
CGI, DocuWare, Perl, Perl error handling, Web development
asked by:
50 pts.

Setting up PHP environment – CGI vs Module
what is the difference on setting up php environment as CGI or as a module to a web server

Answer Question   |  February 17, 2009  11:34 PM
Apache modules, CGI, PHP, PHP installation
asked by:
20 pts.

Refresh my log file
Hi, I want to refresh a table without refreshing the entire web page.Anyone knows how to accomplish this?

Answer Question   |  October 10, 2008  9:23 AM
Ajax, CGI, Perl, Web development
asked by:
20 pts.

Button_click event in Perl
Can anyone tell me how do i handle a button click event in perl?

Answer Question   |  October 1, 2008  5:51 AM
CGI, onClick event, Perl
asked by:
20 pts.

RPG DUMP opcode produces no output in Apache CGI programs
We have a standard *PSSR subroutine for our ILE RPG programs that includes the DUMP opcode. It works fine except in CGI programs where no dump is produced when the *PSSR subroutine is executed. Does anyone know why this is?

Answer Question   |  June 11, 2009  2:56 PM
Apache, CGI, RPG, RPGILE
asked by:
25 pts.

Websphere 6.0 Performance
We have a basic Websphere application that is infrequently used. As a result, when it is used, everyone pays the “first time” penalty, and response times can be VERY slow. The second attempt is better, but by then the client is already mad. Is there a way to keep the application “awake” so that good [...]

Answer Question   |  May 6, 2010  1:02 PM
AS/400 performance, CGI, iSeries, WebSphere
asked by:
5 pts.

CGI Program Problem – Data Decimal Error
We have a set of programs that were written a couple years ago. We recently recompiled one and we started getting the error RNQ0907 decimal-data error. There were no changes to the actual code in the program or modules that are bound to it. We restored the object from tape and it works fine, but [...]

Answer Question   |  April 7, 2010  2:45 PM
CGI, RPGILE, V5R3
asked by:
205 pts.

asked by:
0 pts.

asked by:
0 pts.

Apache or CGI or RPG or FORM
We recently updraded to v5r3 on our i5 and installed our new Apache server. We had web-apps running in RPG/CGI for months before the upgrade. The code hadn’t changed, yet after the upgrade, the web-apps started to not work as designed or would not do anything when a form-button was clicked or sometimes a screen [...]

Answer Question   |  February 8, 2005  4:56 PM
Apache, CGI, RPG
asked by:
0 pts.

1