From 3d3f8d3832921f99daf8ce1953304763c2e76c62 Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 14 Apr 2006 06:22:09 +0000 Subject: Importing SQLMap + sample + docs. --- .../adodb/drivers/adodb-odbtp_unicode.inc.php | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 framework/DataAccess/adodb/drivers/adodb-odbtp_unicode.inc.php (limited to 'framework/DataAccess/adodb/drivers/adodb-odbtp_unicode.inc.php') diff --git a/framework/DataAccess/adodb/drivers/adodb-odbtp_unicode.inc.php b/framework/DataAccess/adodb/drivers/adodb-odbtp_unicode.inc.php new file mode 100644 index 00000000..1219de6d --- /dev/null +++ b/framework/DataAccess/adodb/drivers/adodb-odbtp_unicode.inc.php @@ -0,0 +1,39 @@ + + +// security - hide paths +if (!defined('ADODB_DIR')) die(); + +/* + Because the ODBTP server sends and reads UNICODE text data using UTF-8 + encoding, the following HTML meta tag must be included within the HTML + head section of every HTML form and script page: + + + + Also, all SQL query strings must be submitted as UTF-8 encoded text. +*/ + +if (!defined('_ADODB_ODBTP_LAYER')) { + include(ADODB_DIR."/drivers/adodb-odbtp.inc.php"); +} + +class ADODB_odbtp_unicode extends ADODB_odbtp { + var $databaseType = 'odbtp'; + var $_useUnicodeSQL = true; + + function ADODB_odbtp_unicode() + { + $this->ADODB_odbtp(); + } +} +?> -- cgit v1.2.3