Difference between revisions of "API PHP package"

From MikroTik Wiki
Jump to: navigation, search
(Created page with "= Client = The examples on this page use the [http://pear2.github.com/Net_RouterOS/ PEAR2_Net_RouterOS] package. You can install it with the PEAR(2) installer, or just download a...")
 
Line 3: Line 3:
  
 
All examples assume that the files from the "src" folder are somehow directly accessible to your PHP file (either via editing your include_path, or by simply extracting the contents of the "src" folder where your own PHP file is). Also, the router is assumed to be accessible with a local IP to the device PHP runs from. The client itself could work without these restrictions - they are specified here for clarity.
 
All examples assume that the files from the "src" folder are somehow directly accessible to your PHP file (either via editing your include_path, or by simply extracting the contents of the "src" folder where your own PHP file is). Also, the router is assumed to be accessible with a local IP to the device PHP runs from. The client itself could work without these restrictions - they are specified here for clarity.
 +
 +
*Note:* The client requires PHP 5.3.0 or later.

Revision as of 22:49, 12 January 2012

Client

The examples on this page use the PEAR2_Net_RouterOS package. You can install it with the PEAR(2) installer, or just download and extract the files from the "src" directory wherever you wish.

All examples assume that the files from the "src" folder are somehow directly accessible to your PHP file (either via editing your include_path, or by simply extracting the contents of the "src" folder where your own PHP file is). Also, the router is assumed to be accessible with a local IP to the device PHP runs from. The client itself could work without these restrictions - they are specified here for clarity.

  • Note:* The client requires PHP 5.3.0 or later.