文档介绍:PHP GETTING STARTED WITH PHP 1
INTRODUCTION TO PHP
HP is a popular scripting language used to create free of charge. There are also no costs or restrictions
powerful and dynamic Web sites. PHP is currently in related to distributing the PHP scripts you create, whether
P use on over five million Web sites around the world. the scripts are for development mercial use.
PHP is open source software, which means it is available
Versions Interactive Web Sites Server-Side Processing Cross Platform
PHP is constantly evolving and a new version of the Interactive Web sites contain Web pages that A Web server processes all the PHP code in a Web PHP can be installed puters using different
language is released every few years. Each new version exchange information between the Web site and page and translates the code into simple HTML code. Windows and Unix operating systems. While some
of PHP offers more features than previous versions the user. Using PHP allows Web developers to This means that Web developers do not have to take specialized functions work only on specific platforms,
but is patible with the previous versions. easily create Web pages that process information into consideration the types of Web browsers used the vast majority of PHP code will work equally as
This means that scripts you write using the current from a user and then generate content depending by clients. Any browser that can view Web pages well on either platform. Many PHP developers write
version of PHP will patible with future versions. on the information submitted by the user. can view pages containing PHP code processed by their code on Windows-puters and then
PHP 4 is the current version of PHP and is used in the Interactive Web sites allow Web developers to a Web server. use the code on Web servers that run a Unix
examples throughout this book. tailor the content of Web pages to better appeal operating system.
to the user.
Object-Oriented
HTML Although PHP is n