PHP (the hypertext preprocessor) is not compiled programming language. PHP it is intended for dynamic generation
of Web-pages by scripts, started on the Web-server side. When the visitor of a site opens page, the server
carries out the pages included in a code operators PHP and sends result to a browser of the visitor, in the same way, as
it is done by means of ASP. However, unlike ASP, PHP is Open Source product. As PHP does not depend on operational
system established on your server.
With PHP you can:
- To form HTTP-headings;
- To establish cookie;
- To operate of authenticity;
- To redirect the user on other page.
PHP gives magnificent opportunities on access to databases MySQL, and also integration with various external libraries.
It allows you to do all - from generation of PDF-documents before grammatic analysis in XML.
Distribution kit PHP is accessible to the majority of operating systems, including Linux, many updatings Unix (for
example, HP-UX, Solaris and FreeBSD), Microsoft Windows, Mac OS X, RISC OS, and many other. PHP supports the
majority of the most popular web servers, such, as Apache, Microsoft Internet Information Server, Microsoft Personal
Web Server, Netscape, iPlanet, Oreilly Website Pro. For the majority of servers PHP it is delivered in 2 variants - as
the module and as CGI preprocessor.
PHP can be started as the module in Apache or as the executed program (CGI). In case of start in the form of
module Apache, PHP works especially easily and quickly. In this case there are no the overhead charge connected with
creation of processes, therefore result stands out quickly, and it is not required to adjust mod_perl for reduction of
an expenditure of a server memory.
Operators PHP are inserted directly into a HTML-code of web-page so there is no necessity for special environments of
development (IDE). You begin the block of a PHP-code by tag <?php?>. You can configure PHP so, that will be used tags in
style ASP. Everything, that is between these tags, will be interpreted as a PHP-code.
Syntax of language PHP is similar to syntax C and Perl. You should not declare variables before their use. Files and
associative files (hash) PHP even basics of object-oriented programming are easily created has, providing a convenient
way of the organization of a code.
Though PHP most quickly works in that case when it is built in in Apache, on Web-site PHP there are instructions on its
installation on Microsoft IIS and Netscape Enterprise Server. If you still do not have copy of the software for
installation PHP, you can download it from an official Web-site. In the same place you
will find a detailed management in which functions and features PHP are described all.
PHP is a magnificent tool for creation of dynamic elements on your Web-site. Owing to that this language has familiar
syntax and puts forward few requirements at use, to start to work with it very easily and to you it is not necessary to
be afraid of that you will stick in details though only and the unpretentious script is required to write to you.
In the present note the most initial data about PHP are resulted only. This language has many other opportunities. PHP
allows to keep and take easily the information from various databases: MySQL, Oracle, Microsoft SQL Server and others.
You can create and modify graphic images hurriedly. You can change the text by means of regular expressions. You can
improve your programs by means of IMAP, LDAP, PDF, SNMP, WDDX, XML and many other things.
To receive the latest information about PHP (and that download necessary ON) glance on an
official site.
|