$errors=""; if($errors==""){ $file=popen("/usr/sbin/sendmail -t","w"); fputs($file,"To: cbraun@upstatenybbb.org\n"); fputs($file,"From: cbraun@upstatenybbb.org\n"); fputs($file,"Subject: Results of the 'Update Your BBB Report' Form\n\n"); fputs($file,date("l, F d, Y \at h:i a",time())."\n\n"); fputs($file,"Results of the 'Update Your BBB Report' Form\n"); fputs($file,"--------------------------------------------\n"); fputs($file,"\n"); fputs($file," Your Company Name: $YourCompanyName\n"); fputs($file," Company Contact Name: $CompanyContactName\n"); fputs($file," Physical Location: $PhysicalLocation\n"); fputs($file," Other Addresses: $OtherAddresses\n"); fputs($file," Phone Number: $Phone\n"); fputs($file," Main Email Address: $MainEmail\n"); fputs($file,"\n"); fputs($file," Additional Email Addresses\n"); fputs($file,"\n"); fputs($file," Name: $AEAName1\n"); fputs($file," Email Address: $AEAEmail1\n"); fputs($file,"\n"); fputs($file," Name: $AEAName2\n"); fputs($file," Email Address: $AEAEmail2\n"); fputs($file,"\n"); fputs($file," WebAddress: $WebAddress\n"); fputs($file," Product/Service Offered: $ProductOrServiceOffered\n"); fputs($file," Personnel: $Personnel\n"); fputs($file," Other DBA's: $OtherDBA\n"); fputs($file," Type of Business Listing: $TypeOfBusiness\n"); fputs($file,"Awards/Recognition Received: $AwardsReceived\n"); fputs($file," Update/Changes: $Update\n"); fputs($file,"\n"); pclose($file); ?>
Update Your BBB Report
Thank you for your submission.
}else{ ?>
Update Your BBB Report
Your request could not be processed, because:
Please hit your browser's "Back" button and try again.
} ?>