Thread: [Phpip-support] Any future conversion to non global variables?
Brought to you by:
trilexcom
From: <php...@li...> - 2007-05-19 00:29:44
|
Is there any plans to not use global variables in php? I'm under the assumption that PHP6 will not support global variables. =20 --Booker |
From: <php...@li...> - 2007-05-19 01:34:23
|
phpIP has had support for global variables function to be disabled before 4.1 release in 2005. -- Michael Earls http://www.vermeer.org http://www.vermeer.org/pgp http://www.phpip.net PGP Info: KeyID 0x168CBA4E Fingerprint 14DD 0899 8FE4 1C16 9561 FA2A 1ACB CA91 168C BA4E > Is there any plans to not use global variables in php? I'm under the > assumption that PHP6 will not support global variables. > > > > --Booker > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/_______________________________________________ > Phpip-support mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpip-support > |
From: <php...@li...> - 2007-05-19 01:39:37
|
Ok, I'll go read the docs. I have 3.2 and when I installed 4.x it didn't work off the bat, lots of variable errors. Is there a 3.2 to 4.x upgrade sql script? -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of php...@li... Sent: Friday, May 18, 2007 3:34 PM To: php...@li... Subject: Re: [Phpip-support] Any future conversion to non global variables? phpIP has had support for global variables function to be disabled before 4.1 release in 2005. --=20 Michael Earls http://www.vermeer.org http://www.vermeer.org/pgp http://www.phpip.net PGP Info: KeyID 0x168CBA4E Fingerprint 14DD 0899 8FE4 1C16 9561 FA2A 1ACB CA91 168C BA4E > Is there any plans to not use global variables in php? I'm under the > assumption that PHP6 will not support global variables. > > > > --Booker > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/____________________________________ ___________ > Phpip-support mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpip-support > ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Phpip-support mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpip-support |
From: <php...@li...> - 2007-05-19 01:42:10
|
The upgrade from 3.2 to 4.1 upgrade script is in the works and it not 100% completed yet, sorry.. -- Michael Earls http://www.vermeer.org http://www.vermeer.org/pgp http://www.phpip.net PGP Info: KeyID 0x168CBA4E Fingerprint 14DD 0899 8FE4 1C16 9561 FA2A 1ACB CA91 168C BA4E > Ok, I'll go read the docs. I have 3.2 and when I installed 4.x it > didn't work off the bat, lots of variable errors. > > Is there a 3.2 to 4.x upgrade sql script? > > -----Original Message----- > From: php...@li... > [mailto:php...@li...] On Behalf Of > php...@li... > Sent: Friday, May 18, 2007 3:34 PM > To: php...@li... > Subject: Re: [Phpip-support] Any future conversion to non global > variables? > > phpIP has had support for global variables function to be disabled > before > 4.1 release in 2005. > > -- > Michael Earls > > http://www.vermeer.org > http://www.vermeer.org/pgp > http://www.phpip.net > > PGP Info: KeyID 0x168CBA4E > Fingerprint 14DD 0899 8FE4 1C16 9561 FA2A 1ACB CA91 168C BA4E > > >> Is there any plans to not use global variables in php? I'm under the >> assumption that PHP6 will not support global variables. >> >> >> >> --Booker >> >> > ------------------------------------------------------------------------ > - >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> > http://sourceforge.net/powerbar/db2/____________________________________ > ___________ >> Phpip-support mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpip-support >> > > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Phpip-support mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpip-support > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Phpip-support mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpip-support > |
From: <php...@li...> - 2007-05-19 01:42:48
|
Just to clarify I installed 4.x on another web server with php configured with global variables off. My 3.2 version runs on another server that has php global variables on. -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of php...@li... Sent: Friday, May 18, 2007 3:39 PM To: php...@li... Subject: Re: [Phpip-support] Any future conversion to non global variables? Ok, I'll go read the docs. I have 3.2 and when I installed 4.x it didn't work off the bat, lots of variable errors. Is there a 3.2 to 4.x upgrade sql script? -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of php...@li... Sent: Friday, May 18, 2007 3:34 PM To: php...@li... Subject: Re: [Phpip-support] Any future conversion to non global variables? phpIP has had support for global variables function to be disabled before 4.1 release in 2005. --=20 Michael Earls http://www.vermeer.org http://www.vermeer.org/pgp http://www.phpip.net PGP Info: KeyID 0x168CBA4E Fingerprint 14DD 0899 8FE4 1C16 9561 FA2A 1ACB CA91 168C BA4E > Is there any plans to not use global variables in php? I'm under the > assumption that PHP6 will not support global variables. > > > > --Booker > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/____________________________________ ___________ > Phpip-support mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpip-support > ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Phpip-support mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpip-support ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Phpip-support mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpip-support |
From: <php...@li...> - 2007-05-19 01:48:33
|
What is your level of error logging within php.ini file? cat /etc/php/apache/php.ini |grep log ; Error handling and logging ; ; you're strongly encouraged to turn this feature off, and use error logging ; Log errors into a log file (server-specific log, stderr, or error_log (below)) ; As stated above, you're strongly advised to use error logging in place of log_errors = Off -- Michael Earls http://www.vermeer.org http://www.vermeer.org/pgp http://www.phpip.net PGP Info: KeyID 0x168CBA4E Fingerprint 14DD 0899 8FE4 1C16 9561 FA2A 1ACB CA91 168C BA4E > Just to clarify I installed 4.x on another web server with php > configured with global variables off. My 3.2 version runs on another > server that has php global variables on. > > -----Original Message----- > From: php...@li... > [mailto:php...@li...] On Behalf Of > php...@li... > Sent: Friday, May 18, 2007 3:39 PM > To: php...@li... > Subject: Re: [Phpip-support] Any future conversion to non global > variables? > > Ok, I'll go read the docs. I have 3.2 and when I installed 4.x it > didn't work off the bat, lots of variable errors. > > Is there a 3.2 to 4.x upgrade sql script? > > -----Original Message----- > From: php...@li... > [mailto:php...@li...] On Behalf Of > php...@li... > Sent: Friday, May 18, 2007 3:34 PM > To: php...@li... > Subject: Re: [Phpip-support] Any future conversion to non global > variables? > > phpIP has had support for global variables function to be disabled > before > 4.1 release in 2005. > > -- > Michael Earls > > http://www.vermeer.org > http://www.vermeer.org/pgp > http://www.phpip.net > > PGP Info: KeyID 0x168CBA4E > Fingerprint 14DD 0899 8FE4 1C16 9561 FA2A 1ACB CA91 168C BA4E > > >> Is there any plans to not use global variables in php? I'm under the >> assumption that PHP6 will not support global variables. >> >> >> >> --Booker >> >> > ------------------------------------------------------------------------ > - >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> > http://sourceforge.net/powerbar/db2/____________________________________ > ___________ >> Phpip-support mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpip-support >> > > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Phpip-support mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpip-support > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Phpip-support mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpip-support > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Phpip-support mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpip-support > |
From: <php...@li...> - 2007-05-21 21:28:08
|
Hope everyone's weekend was great. I installed phpip 4.2 as a new clean install. My php.ini file has this configured: log_errors =3D On My log entries after installation and going to the login page: [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: Undefined index: req in /data0/httpd/phpip4/login.php on line 25 [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: Undefined index: version in /data0/httpd/phpip4/defaultlayout.php on line 26 [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: Undefined property: Meta::$description in /data0/httpd/phpip4/classes/clsMetaC ontent.php on line 10 [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: Undefined property: Meta::$keywords2 in /data0/httpd/phpip4/classes/clsMetaCon tent.php on line 30 [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: Undefined property: Meta::$description in /data0/httpd/phpip4/classes/clsMetaC ontent.php on line 31 [Mon May 21 11:17:28 2007] [error] [client <deleted>] File does not exist: /data0/httpd/phpip4/i/bg.gif, referer: http://<deleted>/login.php (END) I'm running apache 2.2.4, mysql 5.0.26, php 5.2.2. I also noticed these 2 settings: register_globals =3D Off register_long_arrays =3D On We had to turn on long arrays for a previous table we had to keep unfortunately. One of my web guys converted the code in the 3.2 version we had so it runs on the same server. I(we) are assuming the 4.x line has the same issue for us, global variables. Mahalo, Booker -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of php...@li... Sent: Friday, May 18, 2007 3:48 PM To: php...@li... Subject: Re: [Phpip-support] Any future conversion to non global variables? What is your level of error logging within php.ini file? cat /etc/php/apache/php.ini |grep log ; Error handling and logging ; ; you're strongly encouraged to turn this feature off, and use error logging ; Log errors into a log file (server-specific log, stderr, or error_log (below)) ; As stated above, you're strongly advised to use error logging in place of log_errors =3D Off --=20 Michael Earls |
From: <php...@li...> - 2007-05-31 21:00:06
|
Any other comments or suggestions about running 4.2 on an apache server that has php configured not for global variables? Thanks, Booker -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of php...@li... Sent: Monday, May 21, 2007 11:28 AM To: php...@li... Subject: Re: [Phpip-support] Any future conversion to non global variables? Hope everyone's weekend was great. I installed phpip 4.2 as a new clean install. My php.ini file has this configured: log_errors =3D On My log entries after installation and going to the login page: [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: Undefined index: req in /data0/httpd/phpip4/login.php on line 25 [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: Undefined index: version in /data0/httpd/phpip4/defaultlayout.php on line 26 [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: Undefined property: Meta::$description in /data0/httpd/phpip4/classes/clsMetaC ontent.php on line 10 [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: Undefined property: Meta::$keywords2 in /data0/httpd/phpip4/classes/clsMetaCon tent.php on line 30 [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: Undefined property: Meta::$description in /data0/httpd/phpip4/classes/clsMetaC ontent.php on line 31 [Mon May 21 11:17:28 2007] [error] [client <deleted>] File does not exist: /data0/httpd/phpip4/i/bg.gif, referer: http://<deleted>/login.php (END) I'm running apache 2.2.4, mysql 5.0.26, php 5.2.2. I also noticed these 2 settings: register_globals =3D Off register_long_arrays =3D On We had to turn on long arrays for a previous table we had to keep unfortunately. One of my web guys converted the code in the 3.2 version we had so it runs on the same server. I(we) are assuming the 4.x line has the same issue for us, global variables. Mahalo, Booker -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of php...@li... Sent: Friday, May 18, 2007 3:48 PM To: php...@li... Subject: Re: [Phpip-support] Any future conversion to non global variables? What is your level of error logging within php.ini file? cat /etc/php/apache/php.ini |grep log ; Error handling and logging ; ; you're strongly encouraged to turn this feature off, and use error logging ; Log errors into a log file (server-specific log, stderr, or error_log (below)) ; As stated above, you're strongly advised to use error logging in place of log_errors =3D Off --=20 Michael Earls ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Phpip-support mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpip-support |
From: <php...@li...> - 2007-05-31 21:56:37
|
Hi Booker, For phpip version 4.2 and above the following options do not need to be enabled within the php.ini file. register_globals = Off register_long_arrays = Off I have verified this configuration on my QA servers running the demo and the new test 4.4 code along with my production at work. Thanks, Michael -- Michael Earls http://www.mearls.net http://www.vermeer.org http://www.vermeer.org/pgp http://www.phpip.net PGP Info: KeyID 0x168CBA4E Fingerprint 14DD 0899 8FE4 1C16 9561 FA2A 1ACB CA91 168C BA4E > Any other comments or suggestions about running 4.2 on an apache server > that has php configured not for global variables? > > Thanks, Booker > > -----Original Message----- > From: php...@li... > [mailto:php...@li...] On Behalf Of > php...@li... > Sent: Monday, May 21, 2007 11:28 AM > To: php...@li... > Subject: Re: [Phpip-support] Any future conversion to non global > variables? > > Hope everyone's weekend was great. > > I installed phpip 4.2 as a new clean install. My php.ini file has this > configured: > > log_errors = On > > My log entries after installation and going to the login page: > > [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: > Undefined index: req in /data0/httpd/phpip4/login.php on line 25 > [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: > Undefined index: version in /data0/httpd/phpip4/defaultlayout.php on > line 26 > [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: > Undefined property: Meta::$description in > /data0/httpd/phpip4/classes/clsMetaC > ontent.php on line 10 > [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: > Undefined property: Meta::$keywords2 in > /data0/httpd/phpip4/classes/clsMetaCon > tent.php on line 30 > [Mon May 21 11:17:28 2007] [error] [client <deleted>] PHP Notice: > Undefined property: Meta::$description in > /data0/httpd/phpip4/classes/clsMetaC > ontent.php on line 31 > [Mon May 21 11:17:28 2007] [error] [client <deleted>] File does not > exist: /data0/httpd/phpip4/i/bg.gif, referer: http://<deleted>/login.php > (END) > > > I'm running apache 2.2.4, mysql 5.0.26, php 5.2.2. > > I also noticed these 2 settings: > register_globals = Off > register_long_arrays = On > > We had to turn on long arrays for a previous table we had to keep > unfortunately. One of my web guys converted the code in the 3.2 version > we had so it runs on the same server. I(we) are assuming the 4.x line > has the same issue for us, global variables. > > Mahalo, Booker > > > -----Original Message----- > From: php...@li... > [mailto:php...@li...] On Behalf Of > php...@li... > Sent: Friday, May 18, 2007 3:48 PM > To: php...@li... > Subject: Re: [Phpip-support] Any future conversion to non global > variables? > > What is your level of error logging within php.ini file? > > cat /etc/php/apache/php.ini |grep log > ; Error handling and logging ; > ; you're strongly encouraged to turn this feature off, and use error > logging > ; Log errors into a log file (server-specific log, stderr, or error_log > (below)) > ; As stated above, you're strongly advised to use error logging in place > of > log_errors = Off > > > -- > Michael Earls > > > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Phpip-support mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpip-support > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Phpip-support mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpip-support > |