I haven't seen the latest versions of PHPLib, so I am not up-to-date: has there been any attempt to upgrade PHPLib to use PHP 4 features, such as:
- Faster foreach loops instead of slow each()
- Using PHP 4 built-in session management
- Isolating global variables from variables retrieved from forms by using HTTP_POST_VARS etc.
... and so on?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2001-08-08
There is discussion taking place right now about whether to create a version of PHPLib which only supports PHP4 and not PHP3 as well. Many people are still using PHP3. It's pretty much a sure thing that the future releases for version 7 of PHPLib will support both PHP3 and PHP4. The question is whether release 8 should PHP4 only or not.
There are modifications to the current release of PHPLib which allow use of PHP4 session management. In the phplib-dev branch of the CVS there is a directory beneath the php directory called session, which has modifications to use PHP4 sessions. Eventually the PHP4 session support will be incorporated into the released version of PHPLib here on SourceForge. We're just not quite there yet.
For security reasons, we will probably go through PHPLib at some point and modify all the global references to use HTTP_*_VARS instead. Not sure what the priority is on that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I agree with Jeff Stuart, but to be more fair, I'll give a reason:
People who still use an outmoded PHP (PHP developers are no longer supporting PHP3), are probably not people who would need to upgrade their version of PHPLib - they live on "maintenance" planet, rather than "development" planet.
So it would make sense to continue support only where PHP has continued support.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just want to upgrade my web app from PHP3 to PHP4. I use auth and session of phplib. The most important thing I have to know is this! Because it seems I have some trouble when using PHP4 with PHPLIB 7.2d.
Any comment is appreciated!
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I haven't seen the latest versions of PHPLib, so I am not up-to-date: has there been any attempt to upgrade PHPLib to use PHP 4 features, such as:
- Faster foreach loops instead of slow each()
- Using PHP 4 built-in session management
- Isolating global variables from variables retrieved from forms by using HTTP_POST_VARS etc.
... and so on?
There is discussion taking place right now about whether to create a version of PHPLib which only supports PHP4 and not PHP3 as well. Many people are still using PHP3. It's pretty much a sure thing that the future releases for version 7 of PHPLib will support both PHP3 and PHP4. The question is whether release 8 should PHP4 only or not.
There are modifications to the current release of PHPLib which allow use of PHP4 session management. In the phplib-dev branch of the CVS there is a directory beneath the php directory called session, which has modifications to use PHP4 sessions. Eventually the PHP4 session support will be incorporated into the released version of PHPLib here on SourceForge. We're just not quite there yet.
For security reasons, we will probably go through PHPLib at some point and modify all the global references to use HTTP_*_VARS instead. Not sure what the priority is on that.
Frankly, I think that you should just DROP PHP3 support in 7.3.
I agree with Jeff Stuart, but to be more fair, I'll give a reason:
People who still use an outmoded PHP (PHP developers are no longer supporting PHP3), are probably not people who would need to upgrade their version of PHPLib - they live on "maintenance" planet, rather than "development" planet.
So it would make sense to continue support only where PHP has continued support.
I just want to upgrade my web app from PHP3 to PHP4. I use auth and session of phplib. The most important thing I have to know is this! Because it seems I have some trouble when using PHP4 with PHPLIB 7.2d.
Any comment is appreciated!
Thanks!
I'm using phplib 7.4rc1 with PHP4.1.1 right now and it works fine.
Just take care about your php.ini settings (variables_order, register_globals, allow-call-by-ref)
dear ggiunta,
Could you please let me know what's the right setting about variables_order, register_globals, allow-call-by-ref?