Page 1 of 1

Strange php form...

Posted: Wed Dec 22, 2004 2:20 am
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?

Posted: Wed Dec 22, 2004 3:10 am
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.