//------------------------------------------------------------------------------ // Licensed Materials - Property of IBM // (c) Copyright IBM Corporation 2001,2002 All Rights Reserved. // US Government Users Restricted Rights - Use, duplication or disclosure // restricted by GSA ADP Schedule Contract with IBM Corp. //------------------------------------------------------------------------------ // Set I/O Slot Count // // Filename: ml_io_set.htm // // This file handles I/O slot configuration requests. When a POST is // received, parameters for the operation are retreived from POST data and // the appropriate extension is called to perform the operation. // When the extension returns, the errorCode is checked and a returnMessage // is built. The url (original requesting page), the errorCode and the // returnMessage is sent to main_progress. // // // Input: POST data // url original request page // ioSlots io slot count // // Ouput: POST ('form_out') // url original request page // errorCode result of operation // returnMessage text information about the operation results // // // Change History: // // Date Defect Changed By Description of Change // ---- ------ ---------- --------------------- // 07/21/2005 rwinston File Created // //------------------------------------------------------------------------------ include_once('user_inc.htm'); include('main_inc.htm'); //initialize variables $errorCode = 0; $returnMessage = " "; $url = " " ; // if this is a post, then this is a request for work to be done if ($_SERVER['REQUEST_METHOD'] == "POST") { // get request information (parameters) $ioSlots = $_POST['ioSlots']; $url = $_POST['url']; // call the extension to do the actual change set_num_mailbox_slots( $user, $ioSlots ); $returnMessage = "I/O Slot Configuration Complete."; } ?>