Network World: Getting in PHP

Thursday Feb 1st 2001 by ServerWatch Staff
Share:

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.

"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).

Share:
Home
Mobile Site | Full Site
Copyright 2017 © QuinStreet Inc. All Rights Reserved