From: Jim Hu <ji...@ta...> - 2004-09-15 05:28:51
|
I believe that the globals used in the new version were introduced in php 4.1 see: http://us4.php.net/manual/en/reserved.variables.php I guess a question is how many users are using versions before 4.1 and also want to use phpicalendar 2.0 instead of 1.x? Will restoring the code in init.inc.php actually keep compatibility with the older versions, or are there other features that will break? Chad? Jim Hu On Sep 14, 2004, at 10:45 PM, php...@li... wrote: > Send Phpicalendar-devel mailing list submissions to > php...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > or, via email, send a message with subject or body 'help' to > php...@li... > > You can reach the person managing the list at > php...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Phpicalendar-devel digest..." > > > Today's Topics: > > 1. Re: init.inc.php (Wesley Miaw) > 2. Re: init.inc.php (Dietrich Ayala) > 3. Re: init.inc.php (Chad Little) > > --__--__-- > > Message: 1 > From: Wesley Miaw <we...@we...> > Subject: Re: [PHPiCalendar-DEV] init.inc.php > Date: Mon, 13 Sep 2004 22:55:08 -0700 > To: php...@li... > Reply-To: php...@li... > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Nope. I upgraded my Linux box and am no longer running the older PHP. > Of course, removing backwards compatibility means people who are > running older versions can't use PHP iCalendar anymore. > > On Sep 13, 2004, at 6:00 PM, Chad wrote: > >> Just an oversite when I was updating for PHP 5.x. We'll probably >> remove it.... Wes, do you still need it? >> >> -C >> >> On Sep 13, 2004, at 12:59 PM, Jim Hu wrote: >> >>> At the beginning of the latest version of init.inc.php, the code has >>> changed from: >>> >>> // Older versions of PHP do not define $_SERVER. Define it here >>> instead. >>> if (!isset($_SERVER) && isset($HTTP_SERVER_VARS)) { >>> $_SERVER = &$HTTP_SERVER_VARS; >>> } >>> >>> to >>> >>> // Older versions of PHP do not define $_SERVER. Define it here >>> instead. >>> if (!isset($_SERVER) && isset($_SERVER)) { >>> $_SERVER = &$_SERVER; >>> } >>> >>> Shouldn't this go back if the function is still for compatibility >>> with older versions of php? Or perhaps it should just be deleted, as >>> it seems like the if will never evaluate to true. Not that this >>> affects my install... >>> >>> Jim >>> ===================================== >>> Jim Hu >>> Associate Professor and Associate Head for Graduate Programs >>> Dept. of Biochemistry and Biophysics >>> 2128 TAMU >>> Texas A&M Univ. >>> College Station, TX 77843-2128 >>> 979-862-4054 >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >> Project Admins to receive an Apple iPod Mini FREE for your judgement >> on >> who ports your project to Linux PPC the best. Sponsored by IBM. >> Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php >> _______________________________________________ >> Phpicalendar-devel mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel >> > - -- > Wesley Miaw > http://www.wesman.net/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.3 (Darwin) > > iD8DBQFBRoe8Qv4agqRAk2kRAnjXAKCEm8jNoxxJls7CfAFo6n7yuz8LxgCdEFHW > yojWXN9Vc/7zu41iSHKys4s= > =fVI1 > -----END PGP SIGNATURE----- > > > > --__--__-- > > Message: 2 > Date: Mon, 13 Sep 2004 23:34:14 -0700 > From: Dietrich Ayala <die...@ga...> > To: php...@li... > Subject: Re: [PHPiCalendar-DEV] init.inc.php > Reply-To: php...@li... > > are you talking about removing support for php 4.x.x? > > if so: please do not! there are thousands of users (and me) who will > still be using 4.x.x for quite a while. > > thanks, and keep up the good work! > > -dietrich > > Wesley Miaw wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Nope. I upgraded my Linux box and am no longer running the older PHP. >> Of >> course, removing backwards compatibility means people who are running >> older versions can't use PHP iCalendar anymore. >> >> On Sep 13, 2004, at 6:00 PM, Chad wrote: >> >>> Just an oversite when I was updating for PHP 5.x. We'll probably >>> remove it.... Wes, do you still need it? >>> >>> -C >>> >>> On Sep 13, 2004, at 12:59 PM, Jim Hu wrote: >>> >>>> At the beginning of the latest version of init.inc.php, the code >>>> has >>>> changed from: >>>> >>>> // Older versions of PHP do not define $_SERVER. Define it here >>>> instead. >>>> if (!isset($_SERVER) && isset($HTTP_SERVER_VARS)) { >>>> $_SERVER = &$HTTP_SERVER_VARS; >>>> } >>>> >>>> to >>>> >>>> // Older versions of PHP do not define $_SERVER. Define it here >>>> instead. >>>> if (!isset($_SERVER) && isset($_SERVER)) { >>>> $_SERVER = &$_SERVER; >>>> } >>>> >>>> Shouldn't this go back if the function is still for compatibility >>>> with older versions of php? Or perhaps it should just be deleted, >>>> as >>>> it seems like the if will never evaluate to true. Not that this >>>> affects my install... >>>> >>>> Jim >>>> ===================================== >>>> Jim Hu >>>> Associate Professor and Associate Head for Graduate Programs >>>> Dept. of Biochemistry and Biophysics >>>> 2128 TAMU >>>> Texas A&M Univ. >>>> College Station, TX 77843-2128 >>>> 979-862-4054 >>> >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >>> Project Admins to receive an Apple iPod Mini FREE for your judgement >>> on >>> who ports your project to Linux PPC the best. Sponsored by IBM. >>> Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php >>> _______________________________________________ >>> Phpicalendar-devel mailing list >>> Php...@li... >>> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel >>> >> - -- >> Wesley Miaw >> http://www.wesman.net/ >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.2.3 (Darwin) >> >> iD8DBQFBRoe8Qv4agqRAk2kRAnjXAKCEm8jNoxxJls7CfAFo6n7yuz8LxgCdEFHW >> yojWXN9Vc/7zu41iSHKys4s= >> =fVI1 >> -----END PGP SIGNATURE----- >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >> Project Admins to receive an Apple iPod Mini FREE for your judgement >> on >> who ports your project to Linux PPC the best. Sponsored by IBM. >> Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php >> _______________________________________________ >> Phpicalendar-devel mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel >> >> > > > --__--__-- > > Message: 3 > From: Chad Little <ch...@ch...> > Subject: Re: [PHPiCalendar-DEV] init.inc.php > Date: Mon, 13 Sep 2004 23:43:21 -0700 > To: php...@li... > Reply-To: php...@li... > > Min requirements we're moving to 4.1.0 or greater for version 2.0. > Version 1.1 still supports 4.0.6 I believe. > > -C > > > On Sep 13, 2004, at 11:34 PM, Dietrich Ayala wrote: > >> are you talking about removing support for php 4.x.x? >> >> if so: please do not! there are thousands of users (and me) who will >> still be using 4.x.x for quite a while. >> >> thanks, and keep up the good work! >> >> -dietrich >> >> Wesley Miaw wrote: >> >>> -----BEGIN PGP SIGNED MESSAGE----- >>> Hash: SHA1 >>> Nope. I upgraded my Linux box and am no longer running the older PHP. >>> Of course, removing backwards compatibility means people who are >>> running older versions can't use PHP iCalendar anymore. >>> On Sep 13, 2004, at 6:00 PM, Chad wrote: >>>> Just an oversite when I was updating for PHP 5.x. We'll probably >>>> remove it.... Wes, do you still need it? >>>> >>>> -C >>>> >>>> On Sep 13, 2004, at 12:59 PM, Jim Hu wrote: >>>> >>>>> At the beginning of the latest version of init.inc.php, the code >>>>> has changed from: >>>>> >>>>> // Older versions of PHP do not define $_SERVER. Define it here >>>>> instead. >>>>> if (!isset($_SERVER) && isset($HTTP_SERVER_VARS)) { >>>>> $_SERVER = &$HTTP_SERVER_VARS; >>>>> } >>>>> >>>>> to >>>>> >>>>> // Older versions of PHP do not define $_SERVER. Define it here >>>>> instead. >>>>> if (!isset($_SERVER) && isset($_SERVER)) { >>>>> $_SERVER = &$_SERVER; >>>>> } >>>>> >>>>> Shouldn't this go back if the function is still for compatibility >>>>> with older versions of php? Or perhaps it should just be deleted, >>>>> as it seems like the if will never evaluate to true. Not that this >>>>> affects my install... >>>>> >>>>> Jim >>>>> ===================================== >>>>> Jim Hu >>>>> Associate Professor and Associate Head for Graduate Programs >>>>> Dept. of Biochemistry and Biophysics >>>>> 2128 TAMU >>>>> Texas A&M Univ. >>>>> College Station, TX 77843-2128 >>>>> 979-862-4054 >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >>>> Project Admins to receive an Apple iPod Mini FREE for your judgement >>>> on >>>> who ports your project to Linux PPC the best. Sponsored by IBM. >>>> Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php >>>> _______________________________________________ >>>> Phpicalendar-devel mailing list >>>> Php...@li... >>>> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel >>>> >>> - -- >>> Wesley Miaw >>> http://www.wesman.net/ >>> -----BEGIN PGP SIGNATURE----- >>> Version: GnuPG v1.2.3 (Darwin) >>> iD8DBQFBRoe8Qv4agqRAk2kRAnjXAKCEm8jNoxxJls7CfAFo6n7yuz8LxgCdEFHW >>> yojWXN9Vc/7zu41iSHKys4s= >>> =fVI1 >>> -----END PGP SIGNATURE----- >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >>> Project Admins to receive an Apple iPod Mini FREE for your judgement >>> on >>> who ports your project to Linux PPC the best. Sponsored by IBM. >>> Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php >>> _______________________________________________ >>> Phpicalendar-devel mailing list >>> Php...@li... >>> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 >> Project Admins to receive an Apple iPod Mini FREE for your judgement >> on >> who ports your project to Linux PPC the best. Sponsored by IBM. >> Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php >> _______________________________________________ >> Phpicalendar-devel mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > > --__--__-- > > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > End of Phpicalendar-devel Digest |