Network World: Getting in PHP

By ServerWatch Staff (Send Email)
Posted Feb 1, 2001


"To begin with, the PHP interpreter must be told which documents to handle - all documents, just those from certain subdirectories or only those with the extension .php. The document content could be HTML with embedded PHP scripts or only a PHP script."

"... Before we look at other ways to tag PHP scripts, let's explain what this document is meant to do. When a Web browser requests this document from a PHP-enabled Web server, the PHP interpreter scans the content for PHP tags. When a PHP tag is found, the script is read and interpreted. Theoutput of the script, usually a stream of text, dynamically replaces the script in the document (the original document still exists). To begin with, the PHP interpreter must be told which documents to handle - all documents, just those from certain subdirectories or only those with the extension .php. The document content could be HTML with embedded PHP scripts or only a PHP script.

Page 1 of 1


Comment and Contribute

Your name/nickname

Your email

(Maximum characters: 1200). You have characters left.