// *************** USER CONFIGURABLE SECTION ****************** // Before this script will do anything useful, the following // variables must be set. // MANDATORY VARIABLES // $sendto - email address where the feedback will be sent // eg, $sendto = "yourname@yourdomain.com" ; // $mainurl - the URL of your home page // eg $mainurl = "http://www.yourdomain.com/" ; // $subject - the subject line in the email sent by the feedback form // eg $subject = "Feedback Form" ; // OPTIONAL VARIABLES // $formurl - the URL of your feedback form (optional) // eg $formurl = "http://www.yourdomain.com/feedback.html" ; // $thankyouurl - the URL of your thank you page (optional) // eg $thankyouurl = "http://www.yourdomain.com/thanks.html" ; $sendto = 'bruce.tan@signature-space.com'; $mainurl = "http://members.fortunecity.com/insi1/"; $subject = "Feedback Form"; $formurl = "http://members.fortunecity.com/insi1/feedback1.html"; $thankyouurl = "http://members.fortunecity.com/insi1/thankyou.html"; // The following will allow you to change the text on the // Thank You page without having to draft a whole new page // (since thank you messages are pretty standard as they come). // This is OPTIONAL. Do not use this if you don't know what // you're doing. $thankyoumessage = "Thank you for your message. We appreciate \n" . "your taking the time to write to us.\n" ; $thankyoutitle = "Your Message Has Been Sent" ; // ************ END OF USER CONFIGURABLE SECTION *************** // ******************** MAIN FEEDBACK SCRIPT ***************** // Do not touch the following. You break it, you fix it. function disable_caching () { header( "Expires: Mon, 8 Dec 1999 05:00:00 GMT" ); header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" ); header( "Cache-Control: no-cache, must-revalidate" ); header( "Pragma: no-cache" ); } if (!isset( $email ) || !isset( $realname ) || !isset( $comments )) { if (empty( $formurl )) { // No customized Feedback Form was indicated by $formurl. // Use our default page. // DO NOT CHANGE THE FOLLOWING: If you want to // customize your feedback form, create a new file // and put its url in $formurl above. ?> Feedback Form


Feedback Form

Email address
Full name

Comments

 
 
Powered by thesitewizard.com

Or click here to return to the main page.


This feedback script is copyright © 2000 by Christopher Heng. All rights reserved.
Get a feedback form and other CGI/PHP scripts for your website, free, at thesitewizard.com.



\nX-Sender: CHFEEDBACK.PHP" ); // display thank you message if (empty( $thankyouurl )) { // No customized thank you page was set in $thankyouurl. // Use our default. // DO NOT CHANGE THE FOLLOWING: If you want to // customize your feedback form, create a new file // and put its url in $formurl above. 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(); ?> <?echo $thankyoutitle?>

Please click here to return to the main page.


This feedback script is copyright © 2000 by Christopher Heng. All rights reserved.
Get a feedback form and other CGI/PHP scripts for your website, free, at thesitewizard.com.