professional-javascript-16-submitfeedback.php / php
<?php //send e-mail (uncomment to actually send e-mail //mail("you@yourdomain.com", "User Feedback", _SERVER['SERVER_NAME']}"); //if flag is set, set cookies if (personName, time() + 1000 * 60 * 60 * 24 * 365); setcookie("personEmail", <html> <head> <title>Cookies Example</title> </head> <body> <p>Thank you for submitting feedback!</p> </body> </html>
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.