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>Registration</title>
7. </head>
8. <body>
9. <h2>Registration Results</h2>
10. <?php // Script 6.2 - handle_reg.php
11. /* This script receives eight values from register.html:
12. email, password, confirm, month, day, year, color, submit */
13.
14. // Address error management, if you want.
15.
16. // Flag variable to track success:
17. $okay = TRUE;
18.
19. // If there were no errors, print a success message:
20. if ($okay) {
21. print '<p>You have been successfully registered (but not really).</p>';
22. }
23. ?>
24. </body>
25. </html>