Jump to content

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.

Link to comment
https://forums.phpfreaks.com/topic/2720-php-formail-error/
Share on other sites

  • 1 month later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.