<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
<title>PHP</title>
<link type = "text/css" href="/styles/cs1.css" rel="stylesheet">
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink=
"#660099" alink="#0000FF">
<h1 align="center">PhP Introduction</h1>

<ul>
<li><a href="site.phtml">Site issues</a></li>

<li><a href="syntax.phtml">Basic Syntax</a></li>
<li><A HREF="logic.phtml">Logic Statements</a></li>
<li><A HREF="function.phtml">Functions</a></li>

<li><A HREF="forms.phtml">Using PhP in forms</a></li>


<li><a href="demos/">Demonstration programs</a></li>
</ul>
    <p>This is a short and somewhat incomplete tour through PHP. Further details on the language may be found in the documentation and other resources <a href="#Resources">below</a>.</p>
<?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 ;
    
?>
<pre>
&lt;?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:";<br>
echo $S1 ?&gt;
</pre>

<p>In traditional <a href="/tutorial/htmlguid/cgi1.phtml">CGI</a>
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.</p><p>The PHP processor has two modes:
       copy (HTML) and interpret (PHP)   Interpretation is toggled with the &lt;php tag.</p>
<h2><a name="Resources">Other Resource</a>s</h2>
<p>For details see our local version of the <a href= 
"/tutorial/doc/php/">PHP manual</a> or visit <a href= 
"http://www.php.net/">http://www.php.net/</a>. It is also worth
exploring the <a href="http://www.php.net/links.php3">PHP links
page</a>. Other tutorials may be found at:
<ul>
<li><a href= "http://www.devshed.com/Server_Side/PHP/Introduction/">DevShed</a>.
<li><a href="http://www.php.net/tut.php">Tutorial at PHP.net</a>
<li><a href="http://webreview.com/pub/2000/02/11/php/index.html?wwwrrr_20000211-wt.txt">Tutorial at webreview.com</a>
<li><a href="http://www.awtrey.com/support/dbeweb/">Anthony Awtrey Consulting - Database Enabled Websites</a>
<li><a href="http://www.devshed.com/Server_Side/PHP/Introduction/">PHP3 Introduction</a> at <a href="http://www.devshed.com/">Devshed</a>
<li>Troubleshooting Professional Magazine's <a href="http://www.troubleshooters.com/tpromag/200004/200004.htm#_part2">PHP Tutorial</a>
</ul>
<h2>PHP Support Sites</h2>
This is a short (and probably incomplete) list of the major sites that support PHP.
<ul>
<li><a href="http://www.php.net/">PHP Home</a>
<li><a href="http://www.phpbuilder.com/">PHPBuilder.com</a>
<li><a href="http://www.devshed.com/">DevShed</a>
<li><a href="http://www.zend.com/">Zend</a> Zend is a commercial venture by the PHP founders.
</ul>

<hr>
<p><A HREF="index.phps">Page Source</A></p>
<?php
include "/web/html/fragments/botnav.phtml";
?>by Robert G. Rittenhouse <A HREF="/cgi-bin/feedback.cgi?rob">
rob@cs1.mcm.edu</a> <br>
<?php echo "Last modified: ".date"F d Y H:i:s."getlastmod() );
?>
</body>
</html>