Any PHP web page first interacts with the interpreter once a request I sent from the browser. This interpreter in turn interacts with file systems, database and mail servers. To configure PHP, php.ini file is used. The interpreter uses this ini file to check the settings. PHP interpreter processes statements enclosed in <?php ?>. Each statement ends with a semi colon which directs the interpreter that it is the end of the statement.

PHP stands for Hypertext PreProcessor. It is a general purpose server side scripting language which is particularly suited for web development and can be embedded into HTML. PHP script is always executes on the server. Only the end result is sent to the browser.

The PHP script is embedded in <?php and ?> . This is the instruction to the web server (usually Apache web server) to execute PHP code. The functionality is performed and result of expressions, echo statement etc., is being executed by the web server and the server in turn returns the result of echo statement, interacts with database etc. Using PHP, thousands web pages can be uploaded, being it is dynamic.

Posted in: PHP

Related FAQ's

Marius Ion ANGEL HOT SOFT LLC (800) 316-7677