execute it, else display the headers */ if ( isset( $_REQUEST['submit_sql'] ) && preg_match('@^SELECT@i', $_REQUEST['encoded_sql_query']) ) { $goto = 'db_details.php'; $zero_rows = htmlspecialchars($GLOBALS['strSuccess']); $sql_query = urldecode($_REQUEST['encoded_sql_query']); require('./sql.php'); exit(); } else { $sub_part = '_qbe'; require('./libraries/db_details_common.inc.php'); $url_query .= '&goto=db_details_qbe.php'; $url_params['goto'] = 'db_details_qbe.php'; require('./libraries/db_details_db_info.inc.php'); } if ( isset($_REQUEST['submit_sql'] ) && ! preg_match('@^SELECT@i', $_REQUEST['encoded_sql_query']) ) { echo '