php and email form

Schoolies

Senior member
Oct 9, 1999
495
0
76
I made a feedback form page that is processed by the php mail () function. It will successfully send me an email - the form works.

General question: Do you know why the form will successfully submit for the first couple of submissions but then stop working? Example: user has to submit 20 entries with different information on each submission, sometimes all 20 will go through, sometimes only 1 will be emailed.

Could it be because they hit the back button?

This is the same form I used last year but I changed to a different hosting plan with my hosting company. Register Globals was set to off on the new server so I had to make a few changes there but other than that, everything else is the same.

I had to take down the submit button on the form but here it is:
http://www.masqueradedance.com/registration

PS
Don't laugh at the design, client made it :)
 

AFB

Lifer
Jan 10, 2004
10,718
3
0
Try this:

Add something to the script to make it log each time it attempts to send a message.

Attempt to break it and check how many times you

a) Submitted the form
b) How many log entries you have
c) How many messages you received.

Then you can narrow the problem down.