phpSysInfo 2.3 - OS/2 Patch


phpSysInfo is a PHP script that displays information about the host being accessed. This is a patch to make it work with OS/2.


Contents


Description

phpSysInfo is a PHP script that displays information about the host being accessed.

It will displays things like Uptime, CPU, Memory, SCSI, IDE, PCI, Ethernet, Floppy, and Video Information.

This is a quick and dirty update to allow phpSysInfo to display information about an OS/2 system. It only includes changed files and any extra files required for use in OS/2.


Displayed Data

The data displayed by phpSysInfo in each section:


Package Contents

The package only contains file created for the OS/2 patch, or modified in some way from the original version. The following are the files included in this package:
Readme.OS2 That file you didn't read
COPYING Licence file (standard GNU license) - the second file you didn't read
cpuid.dat Modified cpuid.dat file from cpuident.zip
phpSysInfo.cmd Wrapper for Rexx utilities and other programs that need some sort of manipulation that I can't do with PHP. determine the used, free and swapped memory details
phpSysInfo2.html This file
index.php Modified version of the index.php from phpSysInfo.
common_functions.php Modified version of the common_functions.php from phpSysInfo.
class.OS2.inc.php Class file definition for all the OS/2 specific things.
OS2Warp.gif "Distribution" icon for OS/2.
phpSysInfo2Test.cmd This is Rexx program the runs phpSysInfo.cmd with all possible parameters. The details are shown on the screen and can be used to debug the info displayed by phpSysInfo.


Requirements

The following other packages are required to get this working:

Many thanks to the authors or porters of these packages.


Installation

Installation is reasonably easy, especially if all the requirements are already installed. Here's the steps:

  1. Install Apache/2 or other OS/2 web server that will do PHP.
  2. Install PHP for you web server
  3. Install the standard phpSysInfo package
  4. Replace the following phpSysInfo files with the ones supplied in this package:
  5. Put class.OS2.inc.php into the include\os directory
  6. Put OS2Warp.gif into the images directory
  7. Put the rest of the contents of this package into the same directory as the phpSysInfo package
  8. Make sure that the following DLLs and executables are available. The DLLs should either be in the phpSysinfo directory or a directory on the LIBPATH. Similarly, the executables should be in the phpSysinfo directory or a directory on the PATH.
  9. Make sure the following files are available. It is probably simplest if you put these in the phpSysInfo directory.
  10. Start a browser, and point it at http://your_hostname/your_phpSysInfo_directory/index.php.
  11. Boast to the world about your system!

Other Stuff

Version History

Known Problems

The following are problems that I know of:

Bug Reporting

If you find any bugs, please tell me at the contact address below. Tell me:

Links

Here are some links that you might find useful:

Licence

See the original phpSysInfo package for the licence.

WARNING!

This software is provided as is. No warranty is given by the author, expressed or implied. Use this software at your own risk. The author assumes no responsibility for any damage from the use of this software.

Contacts

If you find any bugs, have any suggestions or simply want to say how wonderful or terrible this is, drop me an e-mail

Author: David Forrester
e-mail: davidfor@internode.on.net
www: OS2World web site