2 if (!isset ($_SESSION)) session_start();
\r
4 require "dbConnect.php";
\r
5 require "../../plugins/php/ricoResponse.php";
\r
7 $id=isset($_GET["id"]) ? $_GET["id"] : "";
\r
8 $oXmlResp= new ricoXmlResponse();
\r
13 if (!isset($_SESSION[$id])) {
\r
14 $errmsg="Your connection with the server was idle for too long and timed out. Please refresh this page and try again.";
\r
15 } elseif (!OpenDB()) {
\r
16 $errmsg=$oDB->LastErrorMsg;
\r
18 $query=$_SESSION[$id];
\r
19 if (isset($_SESSION[$id . ".filters"])) $filters=$_SESSION[$id . ".filters"];
\r
20 $oXmlResp->SetDbConn($oDB);
\r
21 $oXmlResp->sendDebugMsgs=true;
\r
22 $oXmlResp->convertCharSet=true; // MySQL sample database is encoded with ISO-8859-1
\r
24 $oXmlResp->ProcessQuery($id, $query, $filters, $errmsg);
\r