Skip to content

Latest commit

 

History

History
24 lines (23 loc) · 2.1 KB

README.md

File metadata and controls

24 lines (23 loc) · 2.1 KB

PHP Toolkit sample scripts

  • call-procedure.php: Complete example of calling an RPG procedure (service program)
  • connect_pdo_odbc.php: How to connect to the toolkit using PDO_ODBC
  • data-structure-array-with-counter.php: Efficient way to receive an array of data back
  • data-types.md: Reference guide to XMLSERVICE data types and equivalent PHP Toolkit functions
  • display-library-list.php: Get results back from an "interactive/5250" CL command.
  • local-transport.php: Uses xmlservice-cli to make a program call without needing a database connection.
  • omit.php: When an RPG program makes a parameter optional by specifying OPTION(*OMIT), this snippet shows how to to specify on the PHP side that the parameter will not be passed.
  • options.php: Connection options, both basic and advanced. Recommended reading.
  • ssh-transport.php: Uses the SSH transport for connecting to the toolkit. Ideal for running the toolkit on a PC or other system and connecting to a remote IBM i.
  • simple-parameters.php: Example with ordinary parameters only; no data structures, arrays, or procedure return values.
  • classic folder: Contains the original Zend Server examples from 2011. For historical purposes only.