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>Thanks!</title> 7. </head> 8. <body> 9. <?php // Script 5.6 - thanks.php 10. /* This is the page the user sees after clicking on the link in handle_post.php (Script 5.5). 11. This page receives name and email variables in the URL. */ 12. 13. // Address error management, if you want. 14. 15. // Get the values from the $_GET array: 16. $name = $_GET['name']; 17. $email = $_GET['email']; 18. 19. // Print a message: 20. print "<p>Thank you, $name. We will contact you at $email.</p>"; 21. 22. ?> 23. </body> 24. </html>