MailForm variable problem?
Posted: Tue Nov 21, 2006 10:02 am
I am using this mail script with a from on my page. I don't really speak php, but had this working great, several times in the past. Now I am getting these weird error notices from this mail form script I have been using. I have never had any issues with this script before and have used it on quite a few different servers. I had this on another sever before and it was working, but after it got moved, it has been giving me these error messages, that I don't know what to do with. Could it be that the server is running a version of php that is too old? Wrong platform?
Here is what I get if I submit this from.
Notice: Undefined index: mail_newline in D:\hshome\c21bestv\c21nicabeachfront.com\formmail2.php on line 374
Notice: Undefined index: alias_method in D:\hshome\c21bestv\c21nicabeachfront.com\formmail2.php on line 403
Notice: Undefined index: alias_method in D:\hshome\c21bestv\c21nicabeachfront.com\formmail2.php on line 403
etc...
Then further down:
Warning: Cannot modify header information - headers already sent by (output started at D:\hshome\c21bestv\c21sanjuan.com\formmail2.php:374) in D:\hshome\c21bestv\c21sanjuan.com\formmail2.php on line 571
[PHPFormMail] Normal e-mail sent from IP 69.105.225.52
Also, when I get the e-mail from the server, it looks something like this:
: Brian
:
:
:
: brian@agilitygraphics.com
:
:
:
: ---
: ---
:
: Submit Form
So it is not showing the variables. It should and used to look like this:
first_name: Brian
last_name: Forstat
etc.
The actual form is here:
http://www.c21nicabeachfront.com/stage/ ... quest.html
Any ideas what could be causing this and how to fix it. I googled the issue and there are some articles, but I don't understand them, since my php knowledge is pretty minimal.
Any help would be greatly appreciated.
Thanks a lot!
B
Here is what I get if I submit this from.
Notice: Undefined index: mail_newline in D:\hshome\c21bestv\c21nicabeachfront.com\formmail2.php on line 374
Notice: Undefined index: alias_method in D:\hshome\c21bestv\c21nicabeachfront.com\formmail2.php on line 403
Notice: Undefined index: alias_method in D:\hshome\c21bestv\c21nicabeachfront.com\formmail2.php on line 403
etc...
Then further down:
Warning: Cannot modify header information - headers already sent by (output started at D:\hshome\c21bestv\c21sanjuan.com\formmail2.php:374) in D:\hshome\c21bestv\c21sanjuan.com\formmail2.php on line 571
[PHPFormMail] Normal e-mail sent from IP 69.105.225.52
Also, when I get the e-mail from the server, it looks something like this:
: Brian
:
:
:
: brian@agilitygraphics.com
:
:
:
: ---
: ---
:
: Submit Form
So it is not showing the variables. It should and used to look like this:
first_name: Brian
last_name: Forstat
etc.
The actual form is here:
http://www.c21nicabeachfront.com/stage/ ... quest.html
Any ideas what could be causing this and how to fix it. I googled the issue and there are some articles, but I don't understand them, since my php knowledge is pretty minimal.
Any help would be greatly appreciated.
Thanks a lot!
B