Jump to content


PHP Formail Error

  • Please log in to reply
1 reply to this topic

#1 lindsayfever

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 24 October 2005 - 09:33 AM


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.ubmtraini...ainingform.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.ubmtraini...ainingform.htm;

Any ideas?

Thanks for you help


#2 morpheus.100

  • Members
  • PipPipPip
  • Advanced Member
  • 145 posts

Posted 07 December 2005 - 10:48 AM

Can you post the code from formail.php so we can see whats going on.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users