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