lindsayfever Posted October 24, 2005 Share Posted October 24, 2005 Hello, I am new to PHP and am trying to create a form that will send a mail to my e-mail account using www.boaddrink.com formail.php. I have configured the php with my address and the referers. Once the form is submitted i recieve the e-mail but the form displays an error message and i cannot redirect the page to the thank-you page: The error is as follows: (please see http://www.ubmtraining.com/trainingform.htm) Notice: Undefined offset: 1 in D:\webs\ubmtraining.com\html\cgi-bin\formmail.php on line 344 Notice: Undefined index: mail_newline in D:\webs\ubmtraining.com\html\cgi-bin\formmail.php on line 365 Warning: Cannot modify header information - headers already sent by (output started at D:\webs\ubmtraining.com\html\cgi-bin\formmail.php:344) in D:\webs\ubmtraining.com\html\cgi-bin\formmail.php on line 545 [phpFormMail] HTTP_REFERER checking is turned off. Referer: http://www.ubmtraining.com/trainingform.htm; Any ideas? Thanks for you help Lindsay. Quote Link to comment https://forums.phpfreaks.com/topic/2720-php-formail-error/ Share on other sites More sharing options...
morpheus.100 Posted December 7, 2005 Share Posted December 7, 2005 Can you post the code from formail.php so we can see whats going on. Quote Link to comment https://forums.phpfreaks.com/topic/2720-php-formail-error/#findComment-10058 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.