Hi everyone,
I am new here although I am not new to PHP!
I am developing a site whereby our users upload a text document (this is likely to be a Word doc - we do not want to restrict the file type) and the text content is taken and added to a mysql database.
I have tried this with field type as Blob and Text and I still have the same problem. The php upload works fine and the file is on the server and fully readable.
Basically, we all know that Word adds extra characters to all code it generates, and as such, the code going into the database and then being used on the website, contains lots of extra characters before and after the actual content.
I have tried to change the page Charset but am unsure exactly what it should be - and I don’t even know if this will work.
If anyone can help me out it will be VERY appreciated!