Professional Documents
Culture Documents
Session 1
Objectives
History of PHP - I
History of PHP - II
Starts with <?php tag and ends with the ?> tag
Scripts are embedded in the BODY tag of the HTML
file
Saves with an extension, .php under the
/var/www/html directory
For example, display a simple text in the browser
Enter http://localhost/stringdisp.php in
the address bar. The output appears, as shown in the
figure
function
with
Summary