Strange php form...

Any problem with PHP can be disscused here
Post Reply
pryj
Posts: 56
Joined: Tue Dec 21, 2004 1:06 pm

Strange php form...

Post by pryj »

Strange php form...

--------------------------------------------------------------------------------

Hi

I have a form on my server which is processed by a php script also on my server... its purpose is to collect normal form data and also attach a file.

When I complete the form, it works fine and we both get the email + attachement (my server is remote 10000 miles away).

When my client completes the form it sends as normal, but we both get blank emails with just the headers, to, from and subject sent - no data and no file attachment. This also happened with a friend in another country

Has anyone any ideas what could be causing this to happen?


SHAdmin
Posts: 2089
Joined: Sat Dec 18, 2004 11:28 am
Contact:

Post by SHAdmin »

This problem would have been caused because, either you havn't taken care of the variables in the form properly, or you have a syntax error in the mail( ) php function. Check it out. Because the distance the mail travels doesnt carry any meaning and makes no difference.
Post Reply