Hi Gjergj Sheldija, Thank you very much.
The second patch file name is given as 'vars_resolve.php' what would be the first file's name? What about installation? Does these changes take care the installation process too? Because the installation routine detects for php version. It goes ahead only if it is php4. Regards ----- Original Message ---- From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: care2002-developers@lists.sourceforge.net Sent: Sunday, 22 June, 2008 9:34:17 PM Subject: Care2002-developers Digest, Vol 26, Issue 19 Send Care2002-developers mailing list submissions to care2002-developers@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/care2002-developers or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of Care2002-developers digest..." Today's Topics: 1. Re: Care2002-developers Digest, Vol 26, Issue 18 (Bala Subramaniam) 2. Re: Care2002-developers Digest, Vol 26, Issue 18 (Gjergj Sheldija) 3. Re: Opinion about mycare2x ([EMAIL PROTECTED]) 4. Re: Opinion about mycare2x ([EMAIL PROTECTED]) 5. Re: Opinion about mycare2x (Gjergj Sheldija) 6. Re: Opinion about mycare2x (Elpidio Latorilla) 7. Looking for new release manager (Elpidio Latorilla) ---------------------------------------------------------------------- Message: 1 Date: Sun, 22 Jun 2008 05:07:53 +0000 (GMT) From: Bala Subramaniam <[EMAIL PROTECTED]> Subject: Re: [Care2002-developers] Care2002-developers Digest, Vol 26, Issue 18 To: care2002-developers@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=utf-8 Hi Gjergj Sheldija, You had posted sometime back on a solution to make care2x work under php5. I did see that thread and am curious to know whether it worked for you. I am planning to submit the latest changes made at my end (hope you must have seen my earlier posts) very soon. If you were able to find a quick fix, i could as well incorporate the same at my end and then post the files. Regards ----- Original Message ---- From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: care2002-developers@lists.sourceforge.net Sent: Sunday, 22 June, 2008 12:31:42 AM Subject: Care2002-developers Digest, Vol 26, Issue 18 Send Care2002-developers mailing list submissions to care2002-developers@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/care2002-developers or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of Care2002-developers digest..." Today's Topics: 1. Re: Opinion about mycare2x (Gjergj Sheldija) ---------------------------------------------------------------------- Message: 1 Date: Sat, 21 Jun 2008 17:09:47 +0200 From: Gjergj Sheldija <[EMAIL PROTECTED]> Subject: Re: [Care2002-developers] Opinion about mycare2x To: care2002-developers@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed nice theme :) apart the humour... except that they have clearly infringed the GPL not giving the source code they have done and interesting job integrating agata reports & integrated some nice modules, like the appoitments ... regards gjergji rafael bonifaz wrote: > Hi all, > > I would just like to know the opinion of you people abouta mycare2x[1] > > [1] http://mycare2x.com/ > > Regards, > > Rafael > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > ------------------------------------------------------------------------ > > _______________________________________________ > Care2002-developers mailing list > Care2002-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/care2002-developers > ------------------------------ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ------------------------------ _______________________________________________ Care2002-developers mailing list Care2002-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/care2002-developers End of Care2002-developers Digest, Vol 26, Issue 18 *************************************************** __________________________________________________________ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html ------------------------------ Message: 2 Date: Sun, 22 Jun 2008 10:38:33 +0200 From: Gjergj Sheldija <[EMAIL PROTECTED]> Subject: Re: [Care2002-developers] Care2002-developers Digest, Vol 26, Issue 18 To: care2002-developers@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi Bala, i'll be very glad to help you here is the code : ------------------------------------------------- <?php # # Page generation time measurement # define to 1 to measure page generation time # define('USE_PAGE_GEN_TIME',0); # # Doctors on duty change time # Define the time when the doc-on-duty will change in 24 hours H.M format (eg. 3 PM = 15.00, 12 PM = 0.00) # define('DOC_CHANGE_TIME','7.30'); # # Nurse on duty change time # Define the time when the nurse-on-duty will change in 24 hours H.M format (eg. 3 PM = 15.00, 12 PM = 0.00) # define('NOC_CHANGE_TIME','7.30'); # # Html output base 64 encryption # Define to TRUE if you want to send the html output in base64 encrypted form # define('ENCRYPT_PAGE_BASE64',FALSE); # # SQL "no-date" values for different database types #Define the "no-date" values for the db date field # define('NODATE_MYSQL','0000-00-00'); define('NODATE_POSTGRE','0001-01-01'); define('NODATE_ORACLE','0001-01-01'); define('NODATE_DEFAULT','0000-00-00'); # # Admission module?s extended tabs. Care2x >= 2.0.2 # Define to TRUE for extended tabs mode # define('ADMISSION_EXT_TABS',TRUE); # # Template theme for Care2x`s own template object # Set the default template theme # $template_theme='biju'; //$template_theme='default'; # # Set the template path # $template_path=$root_path.'gui/html_template/'; # # ---------- Do not edit below this --------------------------------------------- # Load the html page encryptor # if(defined('ENCRYPT_PAGE_BASE64')&&ENCRYPT_PAGE_BASE64){ include_once($root_path.'classes/html_encryptor/csource.php'); } # # globalize the POST, GET, & COOKIE variables # require_once($root_path.'include/inc_vars_resolve.php'); # # Set global defines # if(!defined('LANG_DEFAULT')) define ('LANG_DEFAULT','sq'); # # Establish db connection # require_once($root_path.'include/inc_db_makelink.php'); # # Session configurations # if(!defined('NOSTART_SESSION')||(defined('NOSTART_SESSION')&&!NOSTART_SESSION)){ # If the session is existing, destroy it. This is a workaround for php engines which are configured to session autostart = On if(session_id()) session_destroy(); # Set sessions handler to "user" ini_set('session.save_handler','files'); # Set transparent session id if(!ini_get('session.use_trans_sid')) ini_set('session.use_trans_sid',1); //ini_set('session.use_trans_sid',0); # Set session name to "sid" ini_set('session.name','sid'); # Set garbage collection max lifetime ini_set('session.gc_maxlifetime',10800); # = 3 Hours # Set cache lifetime //ini_set('session.cache_expire',1); # = 3 Hours # Start adodb session handling # # New session handler starting adodb 4.05 # $ADODB_SESSION_DRIVER=$dbtype; $ADODB_SESSION_CONNECT=$dbhost; $ADODB_SESSION_USER =$dbusername; $ADODB_SESSION_PWD =$dbpassword; $ADODB_SESSION_DB =$dbname; // Gjergj Sheldija : fixed menu with php 5.x //include_once($root_path.'classes/adodb/session/adodb-session.php'); // Old adodb 250 session handler //include_once($root_path.'classes/adodb/adodb-session.php'); session_start(); } # # Set the url append data # if (ini_get('session.use_trans_sid')!=1) { define('URL_APPEND', '?sid='.$sid.'&lang='.$lang); $not_trans_id=true; } else { # Patch to avoid missing constant define('URL_APPEND', '?ntid=false&lang='.$lang); //define('URL_APPEND','?lang='.$lang); $not_trans_id=false; } define('URL_REDIRECT_APPEND','?sid='.$sid.'&lang='.$lang); # # Page generation time start # if(defined('USE_PAGE_GEN_TIME')&&USE_PAGE_GEN_TIME){ include($root_path.'classes/ladezeit/ladezeitclass.php'); $pgt=new ladezeit(); $pgt->start(); } //echo URL_APPEND; echo URL_REDIRECT_APPEND; # # Template align tags, default values # $TP_ALIGN='left'; # template variable for document direction $TP_ANTIALIGN='right'; $TP_DIR='ltr'; # # Function to return the <html> or <html dir-rtl> tag # function html_ret_rtl($lang){ global $TP_ALIGN,$TP_ANTIALIGN, $TP_DIR; if(($lang=='ar')||($lang=='fa')){ $TP_ANTIALIGN=$TP_ALIGN; $TP_ALIGN='right'; $TP_DIR='rtl'; return '<HTML dir=rtl>'; }else{ return '<HTML>'; } } # # Function to echo the returned value from function html_ret_rtl() # function html_rtl($lang){ echo html_ret_rtl($lang); } ?> ------------------------------------------------- and the second patch is : in vars_resolve.php, chage ------------------------------ /* if(sizeof($global_vars=&importGlobalVariable('session'))) { //while(list($x,$v)=each($HTTP_SERVER_VARS)) while(list($x,$v)=each($global_vars)) { $$x=$v; } //reset($HTTP_SERVER_VARS); reset($global_vars); } */ ------------------------------ to ------------------------------- if(sizeof($global_vars=&importGlobalVariable('session'))) { //while(list($x,$v)=each($HTTP_SERVER_VARS)) while(list($x,$v)=each($global_vars)) { $$x=$v; } //reset($HTTP_SERVER_VARS); reset($global_vars); } ------------------------------- regards gjergj ------------------------------ Message: 3 Date: Sun, 22 Jun 2008 10:08:30 +0100 From: [EMAIL PROTECTED] Subject: Re: [Care2002-developers] Opinion about mycare2x To: care2002-developers@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Gjergj Sheldija wrote: > nice theme :) > > apart the humour... > except that they have clearly infringed the GPL not giving the source code mycare2x.com seems to be based in Germany (their address is: An der Weinleite 5a, 85560 Ebersberg, Germany) Knowing both German and European Law, it seems very improbable that what they are doing is being done without Elpidio Latorilla's authorization. If that was not the case it would be a simple matter of reporting it to: http://www.fsf.org/licensing/licenses/gpl-violation.htmlacting As long as Elpidio's is the sole copyright owner of all of Care2x's code (both the code written exclusively by him, and any other piece of code contributed by anyone else), he can license it under any other conditions (open or closed) that he chooses to. Those are the facts of Copyright Law. In this aspect Care2x is quite different from Linux, Apache or even Mozilla, that are collectively owned by groups of people or organizations. M. ------------------------------ Message: 4 Date: Fri, 20 Jun 2008 21:36:27 +0100 From: [EMAIL PROTECTED] Subject: Re: [Care2002-developers] Opinion about mycare2x To: care2002-developers@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed rafael bonifaz wrote: > Hi all, > > I would just like to know the opinion of you people abouta mycare2x[1] Very nice page. It looks very professional. Reading: "Support and maintenance As a matter of course we are offering support and maintenance for your installation of myCare2x. ", just makes one wonder, were did you commit the patch to make Care2x work with PHP5? Regards, M. ------------------------------ Message: 5 Date: Sun, 22 Jun 2008 14:17:55 +0200 From: Gjergj Sheldija <[EMAIL PROTECTED]> Subject: Re: [Care2002-developers] Opinion about mycare2x To: care2002-developers@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed hi, actually as i understand the licensing of c2x is a bit messy. it is gpl and has bsd , apache, gpl 2 licensed code inside... is gpl-ed but one can make modifications without giving back the code to the community, which, as i know is a violation.... but i'm not so good on understanding all those legal stuff :( regards gj. ------------------------------ Message: 6 Date: Sun, 22 Jun 2008 08:25:54 -0400 From: "Elpidio Latorilla" <[EMAIL PROTECTED]> Subject: Re: [Care2002-developers] Opinion about mycare2x To: care2002-developers@lists.sourceforge.net Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Hi, They have been reported already sometime ago. They are in violation. Elpidio On Sun, Jun 22, 2008 at 5:08 AM, <[EMAIL PROTECTED]> wrote: > Gjergj Sheldija wrote: > > nice theme :) > > > > apart the humour... > > except that they have clearly infringed the GPL not giving the source > code > > mycare2x.com seems to be based in Germany (their address is: An der > Weinleite 5a, 85560 Ebersberg, Germany) > > Knowing both German and European Law, it seems very improbable that what > they are doing is being done without Elpidio Latorilla's authorization. > > If that was not the case it would be a simple matter of reporting it to: > http://www.fsf.org/licensing/licenses/gpl-violation.htmlacting > > As long as Elpidio's is the sole copyright owner of > all of Care2x's code (both the code written exclusively by him, and any > other piece of code contributed by anyone else), he can license it under > any other conditions (open or closed) that he chooses to. Those are the > facts of Copyright Law. > > In this aspect Care2x is quite different from Linux, Apache or even > Mozilla, that are collectively owned by groups of people or organizations. > > M. > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Care2002-developers mailing list > Care2002-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/care2002-developers > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 7 Date: Sun, 22 Jun 2008 12:04:11 -0400 From: "Elpidio Latorilla" <[EMAIL PROTECTED]> Subject: [Care2002-developers] Looking for new release manager To: care2002-developers <care2002-developers@lists.sourceforge.net> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Hello everybody, as you well know, our last release manager has decided not to extend his tenure. I personally thank him for his hours of contributions to keep the versions up to date. Now we need a new release manager. Is anybody here interested to take this position? Please let me know. You can also contact Claudio Torbinio (the last release manager). Thank you. Elpidio -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ------------------------------ _______________________________________________ Care2002-developers mailing list Care2002-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/care2002-developers End of Care2002-developers Digest, Vol 26, Issue 19 *************************************************** __________________________________________________________ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Care2002-developers mailing list Care2002-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/care2002-developers