1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4. <head>
5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
6. <title>Greetings!</title>
7. </head>
8. <body>
9. <?php // Script 3.7 - hello.php
10.
11. ini_set ('display_errors', 1); // Let me learn from my mistakes!
12. error_reporting (E_ALL | E_STRICT); // Show all possible problems!
13.
14. // This page should receive a name value in the URL.
15.
16. // Say "Hello":
17. $name = $_GET['name'];
18. print "<p>Hello, <span style=\"font-weight: bold;\">$name</span>!</p>";
19.
20. ?>
21. </body>
22. </html>