|
Hmm.. that's probably doable, but there would be some homework involved getting the VA-RPG program to act as a CGI-BIN program properly. From what I was doing with RPG CGI on the AS/400 I seem to remember when the program is called as CGI you get the post type parameters that you parse out, and you build the web page dynamically that is to be returned. The first part shouldn't be that difficult and should be able to be figured out inside of a day or so. But returning the dynamic web page, I'm not sure where to even start looking in how to do that in VA-RPG. Apache may be expecting the CGI program to return the dynamic HTML as a stream, probably std out if it does expect that. Can/does VA-RPG programs write to STDOUT? If it does, it should be fairly easy actually. Regards, Jim Langston -----Original Message----- From: Buck Calabro [mailto:Buck.Calabro@commsoft.net] >>Does anyone know if or how a browser >>user interface can be used with VARPG? >The only way I could think of doing that >would be to make your VA-RPG program an >HTML server, albeit a small one. Slick idea Jim; nice way to think outside the box. I was going to reply to the effect that VARPG creates PC programs, and not web pages, but you've inspired me. How about extracting the program logic into CGI-BIN programs? Serve them up with Apache? I don't think there's a way to take an existing VARPG program and have it's output funnelled to a browser. --buck
As an Amazon Associate we earn from qualifying purchases.
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.