About PHP

  Ditulis pada Aug 01, 2008 // Web Programming.  

Do you ussualy used PHP in your web scripting project before? But do you know the history about PHP? What PHP for and how to optimized PHP in your web application? Here’s a little bit something about PHP you could find out. PHP is the engine behind millions of dynamic web applications. Its broad feature set, approachable syntax, and support for different operating systems and web servers have made it an ideal language for both rapid web development and the methodical construction of complex systems.
One of the major reasons for PHP’s success as a web scripting language is its origins as a tool to process HTML forms and create web pages. This makes PHP very web-friendly. Additionally, it is a polyglot. PHP can speak to a multitude of databases, and it knows numerous Internet protocols. PHP also makes it simple to parse browser data and make HTTP requests. This webspecific focus carries over to the recipes and examples in the PHP Cookbook written by David Sklar and Adam Trachtenberg.
PHP, in source-code and binary forms, is available for download for free from http://www.php.net/. The PHP web site also contains installation instructions, comprehensive documentation, and pointers to online resources, user groups, mailing lists, and other PHP resources.
Strings in PHP are a sequence of characters, such as “We hold these truths to be self evident,” or “Once upon a time,” or even “111211211.” When you read data from a file or output it to a web browser, your data is represented as strings. Individual characters in strings can be referenced with array subscript style notation, as in C.