Carsten Wolff
7f85671046
'blob'-columns need some special attention in the new quote()-function.
...
Note that there is no need to use BlobDecode() on read, since adodb does it automagically.
2004-03-17 12:42:24 +00:00
Ralf Becker
2238ea9dbb
makeing ADOdb the configuration default: unless you explicitly set
...
$GLOBALS['phpgw_info']['server']['use_adodb'] = False;
in your header.inc.php, eGW uses ADOdb
2004-03-15 22:41:55 +00:00
Ralf Becker
1cc9c515aa
fixed a typo in column_data_implode
2004-02-28 23:56:13 +00:00
Ralf Becker
35e9e09911
new function to do the complete type-dependent quoting of a value
...
ToDo: need to write some introduction to the new SQL-inserting save functions of the db-class (inline docs are already there)
2004-02-19 08:45:31 +00:00
Ralf Becker
652511bdb3
fixed metadata-function for adodb
2004-02-15 13:54:18 +00:00
Ralf Becker
9949311809
1) fixed bug with setup_demo (start_transaction did not call open before)
...
2) moved create_database code to the shared class: adodb can create the db now for mysql & pgsql
3) fixed the connect to be able to use unix-domain sockets for pgsql (hostname empty)
2004-02-08 11:19:52 +00:00
Miles Lott
e18438cdcc
intval -> (int), remove unnecessary switch statement
2003-12-14 16:50:34 +00:00
shrykedude
f17337d3b7
Added support for specifying the database port number
2003-12-08 04:50:23 +00:00
Ralf Becker
f1cf865b12
fixed fatal error if no connection (db does not exist)
2003-11-02 15:19:14 +00:00
Ralf Becker
f2b0ca5d6d
an other fix for ADOdb, set Record to empty, if a query returns no row
2003-10-21 18:08:22 +00:00
Ralf Becker
b26fa6246a
fixed db::to_timestamp as the ADOdb function returns quotes too
2003-10-21 10:08:48 +00:00
Ralf Becker
a1bb219315
fix to automatically connect before calling db_addslashes, needed for setup->languages (with ADOdb enabled)
2003-10-20 19:02:32 +00:00
Ralf Becker
dbfd796382
fix to automatically connect before quering the tables, needed for setup->configuration (with ADOdb enabled)
2003-10-20 16:36:03 +00:00
Ralf Becker
10a51e644b
get last_insert_id for pgsql working and fixed the copying of db-objects
2003-10-19 21:41:47 +00:00
Ralf Becker
32fa6bc9d0
added db_addslashes version for use without adodb
2003-10-19 19:36:50 +00:00
Ralf Becker
c7a9ba98e5
updated db-class to use ADOdb if one set $GLOBALS['phpgw_info']['server']['use_adodb'] = True; (eg. in your header.inc.php) or to be used as base-class for the other db-classes
2003-10-19 19:09:36 +00:00
Miles Lott
7d999cd13c
Moved inclusion of extension classes after definition of extended class, for php5 (and 3 ;) )
2003-10-16 10:27:34 +00:00
Ralf Becker
90faf20801
added some db-unspecific functions to deal with db-results-sets as associative arrays and form new querys from column/value arrays with automatical addslash/intval based on the column-type
2003-10-05 10:42:07 +00:00
Ralf Becker
b8557e49d9
make the phpgw Version-0_9_16-branch HEAD
2003-08-28 14:31:11 +00:00
Miles Lott
56489e8d4f
Using GLOBALS
2001-09-02 00:27:19 +00:00
seek3r
83a0af3424
trying to get windows support working
2001-06-20 08:36:55 +00:00
Miles Lott
1548a531b7
change from dbl to single ticks
2001-06-13 06:24:07 +00:00
seek3r
00b23411ef
moved to define() for path vars. Also starting to hack sessions to be phpgw_info manager
2001-02-06 09:19:38 +00:00
seek3r
431f841cba
switching to the new Object factory method
2001-01-11 10:04:28 +00:00
seek3r
e97ef24062
switching to the new Object factory method
2001-01-11 09:52:33 +00:00