bcdeery Posted November 3, 2006 Share Posted November 3, 2006 I apologize in advance for posting the entire code (it's short), but I have no idea why it's not working anymore. I've contaced my web host and they insist it's nothing on their end. The "Information Request" Page is [url=http://www.wavechange.com/inforequest.html]www.wavechange.com/inforequest.html[/url].As you can see, no fields are required. If no email address is entered, the loaded page is a "server error" page. If a valid email address is entered, my "Thank You" page shows, but no emails are sent. WHY!?!?!?[code]<? $PlanOfAction = $_REQUEST['PlanOfAction'] ; $ResponseMethod = $_REQUEST['ResponseMethod'] ; $Name = $_REQUEST['Name'] ; $Title = $_REQUEST['Title'] ; $Company = $_REQUEST['Company'] ; $Address = $_REQUEST['Address'] ; $City = $_REQUEST['City'] ; $ProvinceState = $_REQUEST['ProvinceState'] ; $Country = $_REQUEST['Country'] ; $ZipPostalCode = $_REQUEST['ZipPostalCode'] ; $Phone = $_REQUEST['Phone'] ; $Fax = $_REQUEST['Fax'] ; $Email = $_REQUEST['Email'] ; $HowDidYouFindUs = $_REQUEST['HowDidYouFindUs'] ; $GTSPInterest = $_REQUEST['GTSPInterest'] ; $Comments = $_REQUEST['Comments'] ; $Contents = "Plan Of Action: $PlanOfAction \n Prefered Response: $ResponseMethod \n Name: $Name \n Title: $Title \n Company: $Company \n Address: $Address \n City: $City \n ProvinceState: $ProvinceState \n Country: $Country \n Postal Code: $ZipPostalCode \n Phone: $Phone \n Fax: $Fax \n email: $Email \n How They Found Us: $HowDidYouFindUs \n Answers Interest: $GTSPInterest \n Comments: $Comments"; mail( "[email protected]", "Information Request from Wavechange.com", $Contents, "From: $Email" );mail( $Email, "Your information Request", "Thank you for visiting Wavechange Logistics on the web. We will be contacting you within the next 24 hours.", "From: [email protected]" ); header( "Location: http://www.wavechange.com/thankyou.html" ); ?>[/code]Thank you so much for any help. I'm losing hair on such a simple matter. Link to comment https://forums.phpfreaks.com/topic/26063-this-script-worked-two-weeks-ago-why-doesnt-it-now/ Share on other sites More sharing options...
mausie Posted November 3, 2006 Share Posted November 3, 2006 Be patient . There might be delay on the server and you'll get alota emails shortly :p Link to comment https://forums.phpfreaks.com/topic/26063-this-script-worked-two-weeks-ago-why-doesnt-it-now/#findComment-119143 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.