Commit Graph

59 Commits

Author SHA1 Message Date
Ralf Becker
4c1d7489fe some code to make register_globals On installs safer, we might commit that after a test-periode to 1.2 too 2006-10-03 15:16:42 +00:00
Ralf Becker
8b199cf8e2 better error-message 2006-08-14 18:33:41 +00:00
Ralf Becker
e419a6aa6d allow ',' in order 2006-03-09 22:33:06 +00:00
Miles Lott
5f9d52623c Fix minor bug in lang() for common, and update setup's version to match common 2006-02-24 03:06:40 +00:00
Ralf Becker
35833c2583 fixed not working reference assignment 2005-11-09 13:54:36 +00:00
Ralf Becker
c5a6a2bcc0 phpgw --> egw plus some documentation 2005-11-09 12:44:32 +00:00
Cornelius Weiß
e4ed1ac5b0 add execmethod2 which could handle multiple arguments
There was no way of patching the existing ExecMethod, as Felamimail,
emailadmin and ldapadmin depend on the class consturction of this
method
2005-11-01 14:19:00 +00:00
Ralf Becker
f99f2ef4e8 1) eGW enviroment (egw_info-array and egw-object) can now be stored in a php-session and restored from there. It is no longer necessary to create it on every page-request.
At the moment you need to log out to activate any changes in the config, preferences or the apps enabled for a user. This can be changed easily by invalidating the cache.
2) New way to create an anoymous session: you can specify a callback function, which gets called if the session could not be verified. The callback can use the DB or instanciate a config object to get the account-date, which it returns. A new session get then created.
2005-07-17 21:00:49 +00:00
Ralf Becker
1a5243c9c4 _check_script_tags function:
1) fixed problems pointed out by gulftech, iframes get now unset too
2) unset variables from _check_script_tags are now found in $GLOBALS['egw_unset_vars'], eg. a posted input-field called content would be found in $GLOBALS['egw_unset_vars']['_POST[content]'] (please not the array is only 1-dimensional!), if it has been unset by check_script_tags
3) speed up the function a bit, by not checking all possible names of the superglobals arrays, if nothing found in $_GET and $_POST
2005-03-15 15:36:44 +00:00
Ralf Becker
0a104f1063 1) $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
2) modernized CreateObject
2005-03-04 20:48:05 +00:00
Lars Kneschke
a0cfcc38e4 make the clone hack working with PHP5 too 2004-10-21 18:12:11 +00:00
Ralf Becker
1b53a1ce6d added clone function for php4, use as $db = clone($this->db); 2004-10-19 14:54:57 +00:00
Ralf Becker
d5b8419f8d fixing the fix, now even all sub-arrays get reset 2004-08-24 20:01:49 +00:00
Ralf Becker
e027149a05 fixed delete-problem of anglemail after security update 2004-08-24 10:45:07 +00:00
Ralf Becker
d7fc09daef fixed probs pointed out by Joxean Koret 2004-08-23 18:18:26 +00:00
Ralf Becker
aa86cc11eb small fix 2004-08-22 18:32:20 +00:00
Ralf Becker
092bca5805 small fix 2004-08-22 14:14:38 +00:00
Ralf Becker
1cabb62405 new schema_proc class seems to work now 2004-08-13 18:59:00 +00:00
Lars Kneschke
ab6a4ae74f added class to create pdf file
http://www.fpdf.org
2004-06-04 06:17:23 +00:00
Ralf Becker
5cb848c8d6 re-enabled error-messages if CreateObject fails, gave a blank page, but no error 2004-05-09 20:04:07 +00:00
reinerj
48f840d7de move from old projct to new one 2004-05-05 12:06:13 +00:00
Ralf Becker
273f6b0a2f fix for bug #944311: Calendar: Error on user-defined fields 2004-05-03 10:39:42 +00:00
Lars Kneschke
76f22cc700 make sorting in felmaimail working again 2004-04-20 02:43:11 +00:00
Ralf Becker
517913682c as talked with lars 2004-04-04 18:06:37 +00:00
Ralf Becker
94b0845564 as talked with lars 2004-04-04 17:58:00 +00:00
Miles Lott
745a6c347b Comment out php5-specific code since it causes php4 syntax error 2004-02-20 16:30:19 +00:00
Miles Lott
5b2e153cc6 Possible fix for latest beta of php5 2004-02-20 14:49:39 +00:00
Miles Lott
300badbfec Cleanup other cases of PHP_OS testing for WINNT 2004-01-28 13:34:47 +00:00
Lars Kneschke
0364332b5c add stripslashes for a second level for arrays 2004-01-20 05:28:04 +00:00
Lars Kneschke
69e0eea014 strip slashes from value only if it exists 2004-01-12 06:11:23 +00:00
Miles Lott
e0e5763821 stripslashes on the first level of a posted array, per discussion with lars 2004-01-10 15:04:17 +00:00
Miles Lott
6a08a48087 Should fix array posting problem 2004-01-03 10:36:50 +00:00
Miles Lott
ff8d604036 Maybe some minor speed improvements 2004-01-02 05:47:24 +00:00
Lars Kneschke
75e6e79ddb added stripslashes when magic qoutes is on 2004-01-02 01:42:23 +00:00
Miles Lott
1df412f9c4 ereg_replace/intval update 2003-12-10 11:45:03 +00:00
shrykedude
8b9c73d089 Prefixed code that generates PHP notices with a '@' to minimize new user confusion. 2003-10-24 04:38:48 +00:00
Ralf Becker
6fbf81abed added class to functions_backtrace 2003-10-19 18:25:14 +00:00
Miles Lott
4c74f7e463 Allow passing of single, non-array paramater for e.g. POST or GET to get_var() 2003-10-18 10:36:34 +00:00
Ralf Becker
cb12c82707 added function to generate a function-name backtrace 2003-10-16 16:41:35 +00:00
Ralf Becker
3f3d0c79e9 added function to generate a function-name backtrace 2003-10-16 16:34:45 +00:00
Miles Lott
e07e330732 Add copyobj() function for php5 object cloning vs php3/4 copies, fix _debug_array() for php5 2003-10-16 10:37:31 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
Ralf Becker
486fd309c0 changed wrong php-version-number 2003-04-02 10:42:12 +00:00
seek3r
d1f5fdf372 oops. left debug line in safe_args() 2003-01-12 03:46:38 +00:00
seek3r
8ae1ee9e14 fixed validation bug in safe_args() and removed debug line I left in createobject() 2003-01-12 03:43:55 +00:00
seek3r
637307f51c added new safe_args function which should help to make our functions safer and more flexible 2003-01-11 08:32:44 +00:00
seek3r
8abf9fa1a5 Switched to using the register_exit_function() and added scrolling divs to a couple places for examples 2002-09-28 15:20:20 +00:00
skeeter
883882338d Changed EXP_DEBUG_APP to DEBUG_APP. 2002-08-22 03:05:58 +00:00
Miles Lott
eec43e2901 Remove stray whitespace 2002-08-20 12:41:48 +00:00
seek3r
4a2729a720 massive and sweeping change to the link() function, the way the app loads up, to a single templates class instance, to a new template set structure which automaticly handles frames support. We will have much cleanup to do to get apps working again and have them following the new guidelines 2002-05-30 09:47:09 +00:00