Hi,
I am trying to upload a file using a form and attach the file to an email.
I have got a script that allows me to attach the file to the mail. The problem is with the uploaded file. When I try to access it using $HTTP_POST_FILES['drawing']['tmp_name'] I get an empty string.
The server is running PHP3. I have set the form enctype to multipart/form-data.
I would appreciate any help on what could be the problem and how to solve it.
Thanks,
Dewang
I am trying to upload a file using a form and attach the file to an email.
I have got a script that allows me to attach the file to the mail. The problem is with the uploaded file. When I try to access it using $HTTP_POST_FILES['drawing']['tmp_name'] I get an empty string.
The server is running PHP3. I have set the form enctype to multipart/form-data.
I would appreciate any help on what could be the problem and how to solve it.
Thanks,
Dewang