A form for the feedback.
<html> <head> <title>8_mailer</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> <? $sendto = 'name@tuodominio.com'; $mainurl = ""; $subject = "Feedback Form"; $thankyoumessage = "Thank you for your message. We appreciate \n" . "your taking the time to write to us.\n" ; $thankyoutitle = "Your Message Has Been Sent" ; function disable_caching () { } if (!isset( $email ) || !isset( $realname ) || !isset( $comments )) { if (empty( $formurl )) { ?> <HTML> <head> <title>Feedback Form</title> </head> <body> <h1>Feedback Form</h1> <p> <form method="post" action="index.php"> <table border=0 width="100%"> <tr> <td>Email address</td> <td><input type="text" name="email" size="25"></td> </tr> <tr> <td>Full name</td> <td><input type="text" name="realname" size="25"></td> </tr> <tr> <td valign="top"><br>Comments</td> <td><textarea name="comments" cols="25" rows=15></textarea><br> <br></td> </tr> <tr> <td> </td> <td> <input type="submit" value="Send comments"><br> <font size=1>Powered by <a href="http://www.thesitewizard.com/" target="_top">thesitewizard.com</a></font> </td> </tr> </table> </form> </p> <p> Or <a href="<?echo $mainurl?>">click here</a> to return to the main page. </p> <hr> This feedback script is copyright © 2000 by <a href="http://www.thesitewizard.com/" target="_top">Christopher S L Heng</a>. All rights reserved.<br> Get a feedback form and other CGI/PHP scripts for your website, free, at <a href="http://www.thesitewizard.com/" target="_top">thesitewizard.com</a>. </body> </html> <? exit ; } else { header( "Location: $formurl" ); exit ; } } if ((strlen($email) == 0)) { $email = "no_email_given" ; } $messageproper = "This message was sent using from:\n" . " $HTTP_REFERER\n" . "------------------------- COMMENTS -------------------------\n\n" . $comments . "\n\n------------------------------------------------------------\n" ; mail($sendto, $subject, $messageproper, "From: \"$realname\" <$email>\nX-Sender: CHFEEDBACK.PHP" ); if (empty( $thankyouurl )) { if (empty($thankyoutitle)) { $thankyoutitle = "Your Message Has Been Sent" ; } if (empty($thankyoumessage)) { $thankyoumessage = "Thank you for your message. We appreciate \n" . "your taking the time to write to us.\n" ; } disable_caching(); ?> <HTML> <head> <title><?echo $thankyoutitle?></title> </head> <body> <h1><?echo $thankyoutitle?></h1> <p> <?echo $thankyoumessage?> </p> <p> Please <a href="<?echo $mainurl?>">click here</a> to return to the main page. </p> <hr> This feedback script is copyright © 2000 by <a href="http://www.thesitewizard.com/" target="_top">Christopher S L Heng</a>. All rights reserved.<br> Get a feedback form and other CGI/PHP scripts for your website, free, at <a href="http://www.thesitewizard.com/" target="_top">thesitewizard.com</a>. </body> </html> <? } else { header ( "Location: $thankyouurl" ); } ?> </body> </html>
Download code...
Script C# per tutte le esigenze: database, sessioni, file, contatori, stringhe, date, e-mail, e tanto altro.
Manuale completo di C# per principianti e non
Script VB.Net Visual Basic .net: database, sessioni, file, contatori, stringhe, date, e-mail, e tanto altro ancora.
Manuale completo di VB.Net per principianti e non.
Tecniche di posizionamento indicizzazione e ottimizzazione dei siti web per nei motori di ricerca
Manuale completo sui CSS per principianti e non
HTML 5 è un linguaggio di markup utilizzato per la strutturazione e il contenuto delle pagine Web.
CSS 3 è l'ultima evoluzione dei fogli di stile CSS. Contiene molte novità come angoli arrotondati, ombre, sfumature, transizioni o animazioni.
jQuery è una libreria JavaScript cross-platform progettata per semplificare lo scripting lato client.