learn more...PHP is an interpreted language. It strongly resembles the C language. It also has some flavor of the Perl language. It is available for almost all platforms, including Linux, other versions of the Unix family, and Windows. PHP enables you to generate Web pages on-the-fly. You do this by pulling data from databases or files, manipulating that data, and then sending that data to a Web browser. Languages are either interpreted or compiled. An interpreter is a program that reads the file containing the code to be executed, and immediately acts upon it. The code in the file is called source code. In general, the code is readable and understandable by a person. How It WorksThe Web server generally runs PHP when a user requests a Web page that contains PHP code. Typically, the Web server is configured to use the filename extension to determine whether to run PHP. For example, a Web server will look at a Web page, and if it ends in .htm or in .html, the Web server will not attempt to execute any PHP script. If the page ends in .php (or in .php3, depending on how you have configured the Web server), the Web server looks at the contents of the Web page.
The Web page that the user sees is a mixture of the standard HTML commands on the page and the output of the PHP interpreter. HTML stands for Hypertext Markup Language, and is a widely available standard for text documents. The home page for HTML is http://www.w3.org/MarkUp/. Several versions of HTML are available. All recently produced browsers understand at least HTML version 1.1. You will often see references to stdout, stdin, and stderr when the behavior of programs is being described. Whenever a program is run under Linux, three standard channels for information are opened. [root@winbook /]# find /home/httpd/html -name "*.html" -print | grep index What It Does for YouWith its capability to execute complex instructions on data inserted into or retrieved from databases, PHP is an ideal format for creating interactive Web sites. It supports multiple databases, including mSQL, MySQL, Informix, and Oracle. Getting Online Help for PHPHelp for PHP is available at http://www.php.net. Online documentation along with FAQs and mailing lists is available at that site. |
||||||
Disclaimer
1) E-articles is not responsible for the information contained by this article as well for any and all copyright infringements by authors and writers. E-articles is a free information resource. If you suspect this article for any copyright infringement, please read the terms of service and contact us to investigate the problem.
2) E-articles is not responsible for inaccuracies, falsehoods, or any other types of misinformation this article may contain and will not be liable for any loss or damage suffered by a user through the user's reliance on the information gained here. link to this article |