This is a short and somewhat incomplete tour through PHP. Further details on the language may be found in the documentation and other resources below.
PHP is a server-side embedded scripting language. PHP code is embedded in a file and interpreted by the webserver. This paragraph was produced with the following code:
<?PHP
$S1 = "PHP is a server-side embedded scripting language.
PHP code is embedded in a file and interpreted by the
webserver. This paragraph was produced with the following code:";
echo $S1 ?>
In traditional CGI scripts the web server must spawn a separate process for each script. PHP scripts differ from conventional CGI scripts in that the web server executes the script itself.
The PHP processor has two modes: copy (HTML) and interpret (PHP) Interpretation is toggled with the <php tag.
For details see our local version of the PHP manual or visit http://www.php.net/. It is also worth exploring the PHP links page. Other tutorials may be found at:
Search |
Computer Science |
Feedback
Site Map