PHP succeeds an older product, named PHP/FI. PHP/FI was created by Rasmus Lerdorf in 1995, initially as a simple set of Perl scripts for tracking accesses to his online resume. He named this set of scripts 'Personal Home Page Tools'.
PHP/FI, which stood for Personal Home Page / Forms Interpreter, It had Perl-like variables, automatic interpretation of form variables and HTML embedded syntax.
PHP is a general-purpose scripting language that is especially suited to server-side web development where PHP generally runs on a web server. Any PHP code in a requested file is executed by the PHP runtime, usually to create dynamic web page content. 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 charge, and the PHP Group provides the complete source code for users to build, customize and extend for their own use
It was riginally designed to create dynamic web pages, PHP now focuses mainly on server-side scripting, and it is similar to other server-side scripting languages that provide dynamic content from a web server to a client, such as Active Server Pages, JavaServer Pages.
An example of PHP
"http://www.w3.org/TR/html4/loose.dtd">
echo "Hi, I'm a PHP script!";
?>
PHP only parses code within its delimiters. Anything outside its delimiters is sent directly to the output and is not processed by PHP
The most common delimiters are to close PHP sections.
With PHP you are not limited to output HTML. PHP's abilities includes outputting images, PDF files and even Flash movies (using libswf and Ming) generated on the fly. You can also output easily any text, such as XHTML and any other XML file. PHP can autogenerate these files, and save them in the file system, instead of printing it out, forming a server-side cache for your dynamic content.
One of the strongest and most significant features in PHP is its support for a wide range of databases. Writing a database-enabled web page is incredibly simple.
Fore such article kindly visit www.apepoint.com
No comments:
Post a Comment