CHAPTER 14Working with Markup

PHP was originally designed as a way to use a special Hypertext Markup Language (HTML) tag to access custom-made business logic written in C. This system has since evolved to a full programming language that allows an HTML developer to add and parse code or a programmer to create advanced scripts that generate HTML documents, images, or other forms of documents. The processing of the special PHP tag takes place on the server side, before the final document is transferred to the browser or client. This is why the language used to be called PHP Hypertext Preprocessor.

When you request that a web server serve a document, the document is usually read from a disk or other storage device and transferred directly to the ...

Get PHP 5 Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.