Reply to php form and enctype

Your name:

Reply:


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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация