Connecting to and Calling An AS400 Program with i5_toolkit

I’m starting to document some of the ways I’ve begun to use Aura’s EasyCom i5 Connect package to connect PHP to our as400. This has been a long process of trying to webify some of our programs and get the information out.  (btw, we’re a small business and yearly the package is about $600 – very, very reasonable.)

Currently, we have a webserver (Windows Server) that hosts our website. On it, we installed the required Aura software (a Windows exe GUI and a PHP extension) to connect to our as400. The PHP pages then utilize that PHP extension to make calls to our as400. On our as400 side, our programmer created small programs to access the larger programs we need. So, I pass say 3 parameters via PHP, make a call via Ericom i5, and then the RPG does the brainwork. It passes back my requested parameters and sets up a datafile I can query using basic ODBC and mySQL. We may change this in the future, but we like the logic work taking place in RPG on the as400 (where all our data resides anyway) and PHP being the fetcher of such data.

So, first up,  here’s how I …

How I Study Chinese Online

Programs I use:

  • Lingoes – this allows you to highlight words on screen for instant translation (written: English / spoken: Chinese).  Below are the elements you need to make it work.
    • Essential dictionaries:
    • Install all dictionaries under Index and Text Capture
    • For Index I have, in order:
      • Vicon
      • CEDict
      • 21 Century
    • For Capture I have, in order:
      • Vicon
      • 21 Century
      • CEDict
      • Instant Translation
    • The best Audio Translator I found (female) was here:

After this is all installed, you should be able to right click on your bird (in lower corner of your screen) and check off: Translate selected text.  Now, whenever you highlight selected text it will read it to you.  Chinese text will be read aloud (in Chinese) and a little pop up (the Instant Translation) will appear over your highlighted words and translate it into English for you as you listen to the Chinese!

Now, for …