|
Posted by Dave on 07/26/06 18:05
Hi all,
I have a php form on my website that i previously used to upload images. I
have copied this to another section to upload txt and word doc files.
However, the word docs get corrupt. I am assuming this is because of the
enctype in the form, which was set to enctype="multipart/form-data".
So i tried changing it to "application/x-www-form-urlencoded" and
"text/plain" but then the form wouldnt work, complaining that no file could
be found. The same happened when i took out the enctype completely.
Can anyone tell me if there is a way around this, so that i can upload word
docs with no problems.
Thanks
Dave.
Navigation:
[Reply to this message]
|