![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Sep 2008
Posts: 1
OS: XP
|
Having a small issue with chfeedback.php 2.07
Hi,
I created a form using chfeedback.php 2.07 and it is working properly EXCEPT for one thing - in the email box if the symbol "@" is used the form is not being sent. It says that it was sent successfully but it doesn't arrive. The form arrives successfully and shows the thank you page when I remove the "@" symbol from the email box. This is the code for anyone that can help (by the way, I've used this script on a bunch of sites and never had this problem before)- Thanks a lot if you can help - Nicole ![]() <? /* */ // ------------- CONFIGURABLE SECTION ------------------------ // $mailto - set to the email address you want the form // sent to, eg //$mailto = "youremailaddress@example.com" ; $mailto = "nicole@---.com" ; // $subject - set to the Subject line of the email, eg //$subject = "Feedback Form" ; $subject = "Book Store Purchase from Your Website!" ; // the pages to be displayed, eg //$formurl = "http://www.example.com/feedback.html" ; //$errorurl = "http://www.example.com/error.html" ; //$thankyouurl = "http://www.example.com/thankyou.html" ; $formurl = "http://www.---.com/store.htm" ; $errorurl = "http://www.---.com/error.htm" ; $thankyouurl = "http://www.---.com/thanks.htm" ; $uself = 1; // -------------------- END OF CONFIGURABLE SECTION --------------- $headersep = (!isset( $uself ) || ($uself == 0)) ? "\r\n" : "\n" ; $FullBelly = $_POST ['FullBelly'] ; $HuntCow = $_POST ['HuntCow'] ; $AuntLucy = $_POST ['AuntLucy'] ; $LetsGoHC = $_POST ['LetsGoHC'] ; $LetsGoPb = $_POST ['LetsGoPb'] ; $LittleShop = $_POST ['LittleShop'] ; $LoveIsHc = $_POST ['LoveIsHc'] ; $LoveIsPb = $_POST ['LoveIsPb'] ; $LoveIsMini = $_POST ['LoveIsMini'] ; $PeterXmas = $_POST ['PeterXmas'] ; $PeterTnanx = $_POST ['PeterTnanx'] ; $Secret = $_POST ['Secret'] ; $SoftHouse = $_POST ['SoftHouse'] ; $GoodNews = $_POST ['GoodNews'] ; $SpecialGifts = $_POST ['SpecialGifts'] ; $SummerParty = $_POST ['SummerParty'] ; $Turn = $_POST ['Turn'] ; $Visit = $_POST ['Visit'] ; $Wedding = $_POST ['Wedding'] ; $WhenChickens = $_POST ['WhenChickens'] ; $name = $_POST['name'] ; $address1 = $_POST['address1'] ; $address2 = $_POST['address2'] ; $city = $_POST['city'] ; $state = $_POST['state'] ; $zip = $_POST['zip'] ; $country = $_POST['country'] ; $telephone = $_POST['telephone'] ; $email = $_POST['email'] ; $specomments = $_POST['comments'] ; $http_referrer = getenv( "HTTP_REFERER" ); if (!isset($_POST['email'])) { header( "Location: $formurl" ); exit ; } if (empty($name) || empty($email) || empty($comments)) { header( "Location: $errorurl" ); exit ; } if ( ereg( "[\r\n]", $name ) || ereg( "[\r\n]", $email ) ) { header( "Location: $errorurl" ); exit ; } if (get_magic_quotes_gpc()) { $comments = stripslashes( $comments ); } $messageproper = "This message was sent from:\n" . "$name\n" . "------------------------------------------------------------\n" . "The Full Belly Bowl: $FullBelly\n" . "Hunting The White Cow: $HuntCow\n" . "In Aunt Lucy's Kitchen: $AuntLucy\n" . "Let's Go Home Hardcover: $LetsGoHC\n" . "Let's Go Home Paperback: $LetsGoPb\n" . "A Little Shopping: $LittleShop\n" . "Love Is Hardcover: $LoveIsHc\n" . "Love Is Paperback: $LoveIsPb\n" . "Love Is Mini: $LoveIsMini\n" . "Peterkin's Christmas: $PeterXmas\n" . "Peterkin's Thanksgiving: $PeterTnanx\n" . "The Secret Remedy: $Secret\n" . "Soft House: $SoftHouse\n" . "Some Good News: $GoodNews\n" . "Special Gifts: $SpecialGifts\n" . "Summer Party: $SummerParty\n" . "Turn! Turn! Turn!: $Turn\n" . "The Visit: $Visit\n" . "Wedding Flowers: $Wedding\n" . "When Chickens Grow Teeth: $WhenChickens\n" . "Name of sender: $name\n" . "Address1 of sender: $address1\n" . "Address2 of sender: $address2\n" . "City of sender: $city\n" . "State of sender: $state\n" . "Zip of sender: $zip\n" . "Country of sender: $country\n" . "Telephone of sender: $telephone\n" . "Email of sender: $email\n" . "------------------------- SPECIAL INSTRUCTIONS / DEDICATIONS OR COMMENTS -------------------------\n\n" . $comments . "\n\n------------------------------------------------------------\n" ; mail($mailto, $subject, $messageproper, "From: \"$name\" <$email>" . $headersep . "Reply-To: \"$name\" <$email>" . $headersep . "X-Mailer: chfeedback.php 2.07" ); header( "Location: $thankyouurl" ); exit ; ?> |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
![]() |
| Thread Tools | |
|
|