php和mysql-web开发

上传人:慢*** 文档编号:233078937 上传时间:2022-01-01 格式:DOC 页数:12 大小:61KB
返回 下载 相关 举报
php和mysql-web开发_第1页
第1页 / 共12页
php和mysql-web开发_第2页
第2页 / 共12页
php和mysql-web开发_第3页
第3页 / 共12页
php和mysql-web开发_第4页
第4页 / 共12页
php和mysql-web开发_第5页
第5页 / 共12页
点击查看更多>>
资源描述

《php和mysql-web开发》由会员分享,可在线阅读,更多相关《php和mysql-web开发(12页珍藏版)》请在金锄头文库上搜索。

1、1、 英文原文 Laura Thomson .php and mysql web develop Luke Welling,Laura Thomson PHP is a scripting language originally designed for producing dynamic web pages. It has evolved to include a command line interface capability and can be used in standalone graphical applications. While PHP was originally cr

2、eated by Rasmus Lerdorf in 1995, the main implementation of PHP is now produced by The PHP Group and serves as the de facto standard for PHP as there is no formal specification. PHP is free software released under the PHP License, however it is incompatible with the GNU General Public License (GPL),

3、 due to restrictions on the usage of the term PHP. PHP is a widely-used general-purpose scripting language that is especially suited for web development and can be embedded into HTML. It generally runs on a web server, taking PHP code as its input and creating web pages as output. It can be million

4、websites and 1 million web servers. PHP originally stood for Personal Home Page. It began in 1994 as a set of Common Gateway Interface binaries written in the C programming language by the Danish/Greenlandic programmer Rasmus Lerdorf. Lerdorf initially created these Personal Home Page Tools to repla

5、ce a small set of Perl scripts he had been using to maintain his personal homepage. The tools were used to perform tasks such as displaying his rsum and recording how much traffic his page was receiving. He combined these binaries with his Form Interpreter to create PHP/FI, which had more functional

6、ity. PHP/FI included a larger implementation for the C programming language and could communicate with databases, enabling the building of simple, dynamic web applications. Lerdorf released PHP publicly on June 8, 1995 to accelerate bug location and improve the code.This release was named PHP versio

7、n 2 and already had the basic functionality that PHP has today. This included Perl-like variables, form handling, and the ability to embed HTML. The syntax was similar to Perl but was more limited, simpler, and less consistent. Zeev Suraski and Andi Gutmans, two Israeli developers at the Technion II

8、T, rewrote the parser in 1997 and formed the base of PHP 3, changing the languages name to the recursive initialism PHP: Hypertext Preprocessor. The development team officially released PHP/FI 2 in November 1997 after months of beta testing. Afterwards, public testing of PHP 3 began, and the officia

9、l launch came in June 1998. Suraski and Gutmans then started a new rewrite of PHPs core, producing the Zend Engine in 1999. They also founded Zend Technologies in Ramat Gan, Israel.On May 22, 2000, PHP 4, powered by the Zend Engine 1.0, was released. On July 13, 2004, PHP 5 was released, powered by

10、the new Zend Engine II. PHP 5 included new features such as improved support for object-oriented programming, the PHP Data Objects extension (which defines a lightweight and consistent interface for accessing databases), and numerous performance enhancements. The most recent update released by The P

11、HP Group is for the older PHP version 4 code branch. As of August, 2008 this branch is up to version 4.4.9. PHP 4 is no longer under development nor will any security updates be released. In 2008, PHP 5 became the only stable version under development. Late static binding has been missing from PHP a

12、nd will be added in version 5.3. PHP 6 is under development alongside PHP 5. Major changes include the removal of register_globals, magic quotes, and safe mode. The reason for the removals was because register_globals had given way to security holes, and magic quotes had an unpredictable nature, and

13、 was best avoided. Instead, to escape characters, magic quotes may be substituted with the addslashes() function, or more appropriately an escape mechanism specific to the database vendor itself like mysql_real_escape_string() for MySQL. PHP does not have complete native support for Unicode or multi

14、byte strings; Unicode support will be included in PHP 6. Many high profile open source projects ceased to support PHP 4 in new code as of February 5, 2008, due to the GoPHP5 initiative, provided by a consortium of PHP developers promoting the transition from PHP 4 to PHP 1397 It runs in both 32-bit

15、and 64-bit environments, but on Windows the only official distribution is 32-bit, requiring Windows 32-bit compatibility mode to be enabled while using IIS in a 64-bit Windows environment. There is a third-party distribution available for 64-bit Windows. PHP is a general-purpose scripting language t

16、hat is especially suited for web development. PHP generally runs on a web server, taking PHP code as its input and creating web pages as output. It can also be used for command-line scripting and client-side GUI applications. PHP can be deployed on most web servers, many operating systems and platforms, and can be used with many relational database management systems. It is available free of charg

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 中学教育 > 其它中学文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号