Jump to content

Archived

This topic is now archived and is closed to further replies.

lindsayfever

PHP Formail Error

Recommended Posts

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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.