Basic PHP Programming

Your guide to basic PHP Programming

Archive for the ‘PHP versions 4’ tag

Versions 4

without comments

php-booklet.jpg

Just so you’ll be aware of the different versions of PHP. This post features older versions:

Version 4.1.0 introduced the superglobal arrays. Because of this, there are scripts written in superglobals that will not run in versions prior to this particular version. If you’re using older versions of PHP, then you must use old style arrays such as the $HTTP_POST_VARS.

Version 4.2.0 is a little more complicated. This version of PHP changed the default setting for register_globals to Off. There are scripts developed under previous versions that depend on register_globals that are set to On. These particular scripts may stop running with the 4.2.0 setting. To solve this, change the coding of the scripts so that they can run with this version.

Important improvements were made to the CU version of PHP in Version 4.3.0. The CU is built automatically by default when the PHP is complied from source code. If one wishes for it not to be built, then it must be disabled with installation options.

Version 4.3.1 features a security fix to problems in 4.3.0.

More to come…

Written by Bart

June 1st, 2008 at 6:12 am

Posted in Info, Versions

Tagged with

Bad Behavior has blocked 148 access attempts in the last 7 days.