Below is the text of the page https://ua2.php.net/ stored 2007-07-26 by archive.org.ua. The original page over time could change. View as original html

PHP: Hypertext Preprocessor

[/] downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net s earch for in the function list all php.net sites this mirror only online documentation bug database Site News Archive All Changelogs just pear.php.net just pecl.php.net just talks.php.net general mailing list developer mailing list documentation mailing list What is PHP? PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial . After that, check out the online manual , and the example archive sites and some of the other resources available in the links section . Ever wondered how popular PHP is? see the Netcraft Survey . Thanks To easyDNS Directi pair Networks EV1Servers Server Central Hosted Solutions Spry VPS Hosting eZ Systems / HiT OSU Open Source Lab Yahoo! Inc. BinarySEC NEXCESS.NET Related sites Apache MySQL PostgreSQL Zend Technologies Community LinuxFund.org OSTG Syndication You can grab our news as an RSS feed via a daily dump in a file named news.rss . Stable Releases Current PHP 5 Stable: 5.2.3 Historical PHP 4 Stable: 4.4.7 Upcoming Events [add] July Conferences 25. Ending rails envy in PHP5 User Group Events 25. Irish PHP Users Group meeting 26. Arabic PHP Group Meeting 26. Malaysia PHP User Group Meet Up 26. Sandy PHP Group 28. Sacramento PHP Group 28. Miami Linux Meetup 30. Long Island PHP Users Group 31. Malaysia PHP Meetup 31. PHP Usergroup Karlsruhe 31. PHPUG Wuerzburg August Conferences 25. PHP @ FrOSCon User Group Events 1. Meeting PHP Usergroup OWL 1. BostonPHP 2. SDPHP (San Diego, CA) 2. Hannover 2. Meetup Day 2. Omaha PHP Users Group Meetup 2. PHP London 2. The Houston PHP Users Group 2. Boston PHP Meetup 2. Atlanta PHP User Group 2. Manchester UK - PHP Group 2. EdPUG - Edinburgh PHP User Group 2. Sydney PHP Group meetings 2. PHP UG Meetup Auckland 2. Cape Town PHP Users Group 2. Jacksonville User Group 2. Seattle PHP Meetup Group 2. West Suburban Chicago PHP Meetup 3. Köln/Bonn 3. Iran PHP developer's meetup 3. PHP Beer - Montreal 4. BBQ PHP Quebec - Montreal 5. PHP meeting online in China 5. meeting de LAMPistas en La Paz 6. PHP Meetup Columbia MD 7. SW Florida Linux Users Group 7. PDXPHP monthly meeting 7. Providence PHP Meetup 8. Wash DC PHP Developers Group 8. Stuttgart 9. Meeting usergroup Dortmund 9. PHP Usergroup Frankfurt/Main 9. Melbourne PHP User Group 9. OCPHP Roundtable 11. PHP User Group Nanaimo, BC/CA 11. PEA meeting from phpchina 14. Hamburg 14. Dallas PHP/MySQL Users Group 14. Dallas PHP Users Group (DPUG) 14. Austin PHP Meetup 14. OKC PHP Meetup 14. Seattle PHP Users Group 15. Miami PHP User Group 15. Broward Php Usergroup 15. Nashville PHP Users Group 15. Chicago PHP User Group Brunch 16. TriPUG 16. OINK-PUG (Cincinnati, Ohio) 16. Utah PHP Users Group Meeting 18. Kansas City 18. Miami Linux Users Group 18. Twin Cities PHP 18. Los Angeles LAMPsig 21. Madison PHP User's Group 21. PHP Brisbane Meetup Group 25. Sacramento PHP Group 25. Miami Linux Meetup 27. Long Island PHP Users Group 28. New York 28. AzPHP 28. San Antonio PHP Meetup 28. Malaysia PHP Meetup 28. PHP Usergroup Karlsruhe 28. PHPUG Wuerzburg 29. Irish PHP Users Group meeting 30. Arabic PHP Group Meeting 30. Malaysia PHP User Group Meet Up 30. Sandy PHP Group Training 1. PHP Training - Chennai - India 1. Formation LAMP a Quebec 1. PHP Programming - Orlando, FL 1. PHP Programming - W. Palm Beach 2. Curso de PHP Avanzado en Bilbao 4. PHP & AJAX -Construindo Websites 5. Ahmedabad PHP Group Training 6. MySQL Spain 6. Curso PHP Madrid 6. PHP E-Learning/Germany 6. Curso on-line ActionScript / PHP 6. PHP & MySQL Training in Kassel 6. PHP & MySQL com Dreamweaver MX 6. Curso on-line de PHP 6. PHP & MYSQL-Construindo WebSites 6. LAMP training in Ottawa 7. Curso on-line de PHP-MySQL 7. PHP Class at CalTek 13. PHP para Expertos Curso on-line 13. Curso PHP y MySQL 13. PHP and MySQL Training in SF, CA 14. PHP Programming - Phoenix, AZ 14. PHP Programming - Irvine, CA 16. Chennai PHP Training 16. Intro to PHP 20. PHP & MySQL Training / Gießen 20. PHP Intro Course South Africa 20. PHP Bootcamp at Big Nerd Ranch 20. PHP/MySQL training San Francisco 20. LAMP training in Montreal 21. Cursos de PHP en Bilbao 23. PHP Brasil - Training 27. Basic PHP Course 27. Formation PHP maitrise 27. Formation PHP Maitrise 28. UK PHP Training 28. PHP Programming - Salt Lake City 28. PHP Programming - Denver, CO Upcoming conferences: php|works 2007 in Atlanta Zend/PHP Conference 2007 Calling for papers: New Delhi PHP UnConference PHP 4 end of life announcement [13-Jul-2007] Today it is exactly three years ago since PHP 5 has been released. In those three years it has seen many improvements over PHP 4. PHP 5 is fast, stable & production-ready and as PHP 6 is on the way, PHP 4 will be discontinued. The PHP development team hereby announces that support for PHP 4 will continue until the end of this year only. After 2007-12-31 there will be no more releases of PHP 4.4. We will continue to make critical security fixes available on a case-by-case basis until 2008-08-08. Please use the rest of this year to make your application suitable to run on PHP 5. For documentation on migration for PHP 4 to PHP 5, we would like to point you to our migration guide . There is additional information available in the PHP 5.0 to PHP 5.1 and PHP 5.1 to PHP 5.2 migration guides as well. PHP 5.2.3 Released [31-May-2007] The PHP development team would like to announce the immediate availability of PHP 5.2.3 . This release continues to improve the security and the stability of the 5.X branch as well as addressing two regressions introduced by the previous 5.2 releases. These regressions relate to the timeout handling over non-blocking SSL connections and the lack of HTTP_RAW_POST_DATA in certain conditions. All users are encouraged to upgrade to this release. Further details about the PHP 5.2.3 release can be found in the release announcement for 5.2.3 , the full list of changes is available in the ChangeLog for PHP 5 . Security Enhancements and Fixes in PHP 5.2.3: Fixed an integer overflow inside chunk_split() (by Gerhard Wagner, CVE-2007-2872) Fixed possible infinite loop in imagecreatefrompng. (by Xavier Roche, CVE-2007-2756) Fixed ext/filter Email Validation Vulnerability (MOPB-45 by Stefan Esser, CVE-2007-1900) Fixed bug #41492 (open_basedir/safe_mode bypass inside realpath()) (by bugs dot php dot net at chsc dot dk) Improved fix for CVE-2007-1887 to work with non-bundled sqlite2 lib. Added mysql_set_charset() to allow runtime altering of connection encoding. For users upgrading to PHP 5.2 from PHP 5.0 and PHP 5.1, an upgrade guide is available here , detailing the changes between those releases and PHP 5.2.3. PHP 5.2.2 and PHP 4.4.7 Released [02-May-2007] The PHP development team would like to announce the immediate availability of PHP 5.2.2 and availability of PHP 4.4.7 . These releases are major stability and security enhancements of the 5.x and 4.4.x branches, and all users are strongly encouraged to upgrade to it as soon as possible. Further details about the PHP 5.2.2 release can be found in the release announcement for 5.2.2 , the full list of changes is available in the ChangeLog for PHP 5 . Details about the PHP 4.4.7 release can be found in the release announcement for 4.4.7 , the full list of changes is available in the ChangeLog for PHP 4 . Security Enhancements and Fixes in PHP 5.2.2 and PHP 4.4.7: Fixed CVE-2007-1001, GD wbmp used with invalid image size (by Ivan Fratric) Fixed asciiz byte truncation inside mail() (MOPB-33 by Stefan Esser) Fixed a bug in mb_parse_str() that can be used to activate register_globals (MOPB-26 by Stefan Esser) Fixed unallocated memory access/double free in in array_user_key_compare() (MOPB-24 by Stefan Esser) Fixed a double free inside session_regenerate_id() (MOPB-22 by Stefan Esser) Added missing open_basedir & safe_mode checks to zip:// and bzip:// wrappers. (MOPB-21 by Stefan Esser). Fixed CRLF injection inside ftp_putcmd(). (by loveshell[at]Bug.Center.Team) Fixed a remotely trigger-able buffer overflow inside bundled libxmlrpc library. (by Stanislav Malyshev) Security Enhancements and Fixes in PHP 5.2.2 only: Fixed a header injection via Subject and To parameters to the mail() function (MOPB-34 by Stefan Esser) Fixed wrong length calculation in unserialize S type (MOPB-29 by Stefan Esser) Fixed substr_compare and substr_count information leak (MOPB-14 by Stefan Esser) (Stas, Ilia) Fixed a remotely trigger-able buffer overflow inside make_http_soap_request(). (by Ilia Alshanetsky) Fixed a buffer overflow inside user_filter_factory_create(). (by Ilia Alshanetsky) Fixed a possible super-global overwrite inside import_request_variables(). (by Stefano Di Paola, Stefan Esser) Limit nesting level of input variables with max_input_nesting_level as fix for (MOPB-03 by Stefan Esser) Security Enhancements and Fixes in PHP 4.4.7 only: XSS in phpinfo() (MOPB-8 by Stefan Esser) While majority of the issues outlined above are local, in some circumstances given specific code paths they can be triggered externally. Therefor, we strongly recommend that if you use code utilizing the functions and extensions identified as having had vulnerabilities in them, you consider upgrading your PHP. For users upgrading to PHP 5.2 from PHP 5.0 and PHP 5.1, an upgrade guide is available here , detailing the changes between those releases and PHP 5.2.2. Update: May 4th; The PHP 4.4.7 Windows build was updated due to the faulty Apache2 module shipped with the original Update: May 23th; By accident a couple of fixes where listed as fixed in both PHP 5.2.2 and 4.4.7 but where however only fixed in PHP 5.2.2. The PHP 4 ChangeLog was not affected. The PHP.net Google Summer of Code [13-Apr-2007] The PHP team is once again proud to participate in the Google Summer of Code . Seven students will "flip bits instead of burgers" this summer: Mentored by Michael Wallner, Hannes Magnusson will work on LiveDocs , which is a "tool to display DocBook XML files in a web browser on the fly, without the need of building all HTML target files first". This project will be of great value to the PHP Documentation Team. The PHP Interpreter uses reference counting to keep track of which objects are no longer referenced and thus can be destroyed. A major weakness in the current implementation is that it cannot detect reference cycles, that is objects that reference each other in a circular graph structure which is not referenced itself from outside the circle. Mentored by Derick Rethans, David Wang will implement a new reference counting algorithm that will alleviate this problem. Xdebug provides a range of useful functionality for PHP developers, including detailed error information, code coverage and profiling support, and support for remote debugging using the GDB and DBGp protocols. Mentored by Xdebug's creator, Derick Rethans, Adam Harvey will develop a cross-platform GUI application that implements the DBGp protocol and allows PHP applications to be debugged using Xdebug in a development environment agnostic fashion. Mentored by Lukas Smith, Konsta Vesterinen will work on the object-relational mapper Doctrine . Mutation Testing, or Automated Error Seeding, is an approach where the testing tool makes some change to the tested code, runs the tests, and if the tests pass displays a message saying what it changed. This approach is different than code coverage analysis, because it can find code that is executed by the running of tests but not actually tested. Mentored by Sebastian Bergmann, Mike Lewis will implement Mutation Testing for PHPUnit . Mentored by Helgi Þormar Þorbjörnsson, Igor Feghali will add support for foreign keys to MDB2_Schema , a package that "enables users to maintain RDBMS independant schema files in XML that can be used to create, alter and drop database entities and insert data into a database". Mentored by David Coallier, Nicolas Bérard-Nault will refactor the internals of Jaws , a Framework and Content Management System for building dynamic web sites, for PHP 6. PHP 4.4.6 Released [28-Feb-2007] The PHP development team would like to announce the immediate availability of PHP 4.4.6 . The main issue that this release addresses is a crash problem that was introduced in PHP 4.4.5. The problem occurs when session variables are used while register_globals is enabled. Details about the PHP 4.4.6 release can be found in the release announcement for 4.4.6 , the full list of changes is available in the ChangeLog for PHP 4 . PHP 5.2.1 and PHP 4.4.5 Released [07-Feb-2007] The PHP development team would like to announce the immediate availability of PHP 5.2.1 and availability of PHP 4.4.5 . These releases are major stability and security enhancements of the 5.x and 4.4.x branches, and all users are strongly encouraged to upgrade to it as soon as possible. Further details about the PHP 5.2.1 release can be found in the release announcement for 5.2.1 , the full list of changes is available in the ChangeLog for PHP 5 . Details about the PHP 4.4.5 release can be found in the release announcement for 4.4.5 , the full list of changes is available in the ChangeLog for PHP 4 . Security Enhancements and Fixes in PHP 5.2.1 and PHP 4.4.5: Fixed possible safe_mode & open_basedir bypasses inside the session extension. Fixed unserialize() abuse on 64 bit systems with certain input strings. Fixed possible overflows and stack corruptions in the session extension. Fixed an underflow inside the internal sapi_header_op() function. Fixed non-validated resource destruction inside the shmop extension. Fixed a possible overflow in the str_replace() function. Fixed possible clobbering of super-globals in several code paths. Fixed a possible information disclosure inside the wddx extension. Fixed a possible string format vulnerability in *print() functions on 64 bit systems. Fixed a possible buffer overflow inside ibase_{delete,add,modify}_user() functions. Fixed a string format vulnerability inside the odbc_result_all() function. Security Enhancements and Fixes in PHP 5.2.1 only: Prevent search engines from indexing the phpinfo() page. Fixed a number of input processing bugs inside the filter extension. Fixed allocation bugs caused by attempts to allocate negative values in some code paths. Fixed possible stack/buffer overflows inside zip, imap & sqlite extensions. Fixed several possible buffer overflows inside the stream filters. Memory limit is now enabled by default. Added internal heap protection. Extended filter extension support for $_SERVER in CGI and apache2 SAPIs. Security Enhancements and Fixes in PHP 4.4.5 only: Fixed possible overflows inside zip & imap extensions. Fixed a possible buffer overflow inside mail() function on Windows. Unbundled the ovrimos extension. The majority of the security vulnerabilities discovered and resolved can in most cases be only abused by local users and cannot be triggered remotely. However, some of the above issues can be triggered remotely in certain situations, or exploited by malicious local users on shared hosting setups utilizing PHP as an Apache module. Therefore, we strongly advise all users of PHP, regardless of the version to upgrade to the 5.2.1 or 4.4.5 releases as soon as possible. For users upgrading to PHP 5.2 from PHP 5.0 and PHP 5.1, an upgrade guide is available here , detailing the changes between those releases and PHP 5.2.1. Update: Feb 14th; Added release information for PHP 4.4.5. Update: Feb 12th; The Windows install package had problems with upgrading from previous PHP versions. That has now been fixed and new file posted in the download section . The front page has changed [07-Feb-2007] The news on the front page of php.net has changed, the conference announcements are now located on their own page. The idea is to keep php.net specific news clear and also opens the door for additional news entries, like for RC releases. More changes are on the way so keep an eye out. PHP Manual Updates [02-Feb-2007] The PHP documentation team is proud to present to the PHP community a few fixes and tweaks to the PHP Manual , including: an improved, XSL-based build system that will deliver compiled manuals to mirrors in a more timely manner (goodbye dsssl) manual pages can now contain images (see imagearc() for an example) updated function version information and capture system (fewer "no version information, might be only in CVS" messages) ... and more to come! Please help us improve the documentation by submitting bug reports , and adding notes to undocumented functions. News Archive RSS | show source | credits | sitemap | contact | advertising | mirror sites Copyright © 2001-2007 The PHP Group All rights reserved. This mirror generously provided by: Max Khaikin Last updated: Thu Jul 26 01:37:34 2007 EEST