Getting Started with iControl and PHP
Problem this snippet solves:
After a few years of trial and error, I've managed to learned the ins and outs of using the iControl API with PHP. It certainly wasn't an easy process, as the information available was few and far between. So.... Here it is!!
iControl and PHP
For this first example, we will build a PHP script that will query an LTM for all of the pools and members along with their availability status and connection counts. The first step in the script is to create a few variables for storing the username, password, and LTM IP address. We will also define the necessary WSDL objects for interacting with iControl.
"; echo ""; $sn = $_SERVER['SCRIPT_NAME']; echo "