//------------------------------------------------------------------------------ // 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. //------------------------------------------------------------------------------ // Contact Information // // Filename: ml_set_duplex_background_process.htm // // This page displays the current contact information settings, if any, and alowes the user to set/change the // contact information. // // When a POST is operation result information is retrieved from POST // data and displayed in the Message Box. // // // Input: POST data // url original request page // duplex duplex drop-down input // speed speed drop-down input // // Ouput: POST ('form_out') // url original request page // errorCode result of operation // Message message flag = message in POST data // returnMessage text information about the operation results // // // Change History: // // Date Defect Changed By Description of Change // ---- ------ ---------- --------------------- // 12/05/2005 roomor01 File Created //------------------------------------------------------------------------------ include('user_inc.htm'); //initialize variables $errorCode = 0; $returnMessage = " "; $url = " "; if($_SERVER[REQUEST_METHOD]=='POST') { $url = $_REQUEST['url']; $ekmTime = $_REQUEST['ekmTime']; $rateInt = $_REQUEST['rateInt']; error_log(print_r("The user chose " . $ekmTime . " for the ekm time.", true)); set_ekm_test_interval($user, $ekmTime); set_ekm_hb_delay_warn_count($user, intval($rateInt)); if($ekmTime != 0) { $returnMessage = "The automatic Key Path Diagnostics was successfully set to " . ($ekmTime / 60) . " hour(s)."; } else { $returnMessage = "The automatic Key Path Diagnostics was successfully disabled."; } sleep(5); } ?>