PHP is currently the most popular web server extension language, used by many websites both large and small. Its popularity is partly due to its free, open-source nature and partly due to its friendliness and convenience. Tasks such as reading an entire file and outputting it to the web browser can be accomplished with a single line of PHP code. And PHP programmers can begin by sprinkling a small amount of code into a page otherwise made up entirely of HTML— a convenience also available in Microsoft's ASP.NET and other extension languages.
Wednesday, December 17, 2008
What is PHP?
PHP is a popular programming language for extending web pages with dynamic features. While plain-vanilla HTML can lay out an attractive page and perhaps present forms for users to enter information, HTML can't actually do anything with the data that the user enters in the form. This is where web server extension languages like PHP come in, providing a way to handle form submissions and other user requests by accessing databases, sending email, generating images on the fly and performing other actions.