//------------------------------------------------------------------------------ // 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. //------------------------------------------------------------------------------ // Outgoing Server (SMTP) Configuration - background processing // // Filename:ml_set_smtp_background_prosses.htm // // This file process the data received from the Email Notifications page actions. // // When a POST is operation result information is retrieved from POST // data and displayed in the Message Box. // // // Input: POST data // (none) // // // 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 // ---- ------ ---------- --------------------- // 11/10/2005 roomor01 File Created //------------------------------------------------------------------------------ include('main_inc.htm'); include('user_inc.htm'); if($_SERVER[REQUEST_METHOD]=='POST') { $returnMessage = "Set Media Security Notifications."; $url=$_REQUEST['url']; $power=$_REQUEST['power']; $non=$_REQUEST['non']; $io=$_REQUEST['io']; if(strcmp($power, "true") == 0) { $power = 1; } else { $power = 0; } if(strcmp($non, "true") == 0) { $non = 1; } else { $non = 0; } if(strcmp($io, "true") == 0) { $io = 1; } else { $io = 0; } error_log(print_r($power, true)); error_log(print_r($non, true)); error_log(print_r($io, true)); $results = set_media_security_detection($user, $power, $non, $io); $returnMessage = "Media Security Notifications successfully set."; $displayMessage = 1; } ?>